Skip to main content

We have setup Stripe integration and as indicated, we are hosting our own server to handle web payments and send over Stripe tokens to the POST receipt endpoint after checkout. Everything works but we wonder if the solution could be simpler.
Since we have the webhook integration between Stripe and RevenueCat, why do we need to maintain our own server and manually call the POST receipt endpoint? Can't RevenueCat just get the Stripe tokens from the webhook call?

Hi @Foti,

At this time, the Stripe webhooks only work if the receipt is already in our system - if the receipt doesn’t exist and cannot be matched to an existing app user id, the event will fail. This is definitely on our radar and a solution for it is in the works, though I don’t have an exact ETA for you right now.


@kaitlin So if we already setup `app user id` in revenue cat, then we don’t really have to make any post request with stripe token ?

which means we just needs to setup `app user id` and revenueCat will handle all stripe purchases which contains `client_reference_id` in stripe response ( which is already sent to revenuecat by webhook )


Reply