#2nker

1 messages · Page 1 of 1 (latest)

finite pilotBOT
primal lintel
#

Hi 👋 Wix built and maintains their Stripe integration, we are not familiar with how they designed it or how it works. I'm not sure whether they abstract the Subscription part of the scenario on their end, or if they expect to use Subscription objects in Stripe.

Can you share the ID of a Payment you're referring to? I'm not sure what type of objects they use, but I suspect the ID will have a pi_ prefix on it.

pallid wing
#

Thanks t
oby! Wix said everything is good and recommended contacting Stripe... I'll share the ID when the dashboard is back up.

finite pilotBOT
pallid wing
#

"id": "pi_3NOTg4H3AvMVH5sk05QSWvfP"

primal lintel
#

Thank you! It looks like the request to create that Payment Intent was directly made by the Wix integration:
https://dashboard.stripe.com/logs/req_biD0JTSXXw7YBz
The request was made to our endpoint to create a Payment Intent, not our endpoint for creating Subscriptions.

My suspicion is Wix has an abstraction on their end to handle the recurring payment logic, and don't actually leverage our Subscription objects. Based on what I'm seeing our system responded as expected to that request and created a Payment Intent as requested, so if Wix is saying that is unexpected they will need to review what their code is doing.

pallid wing
#

Ok, that was my suspicion. I have started looking into integrating stripe customer portal into wix member pages. Do you have any thoughts or advice on this?

primal lintel
#

Hm, my biggest hesitation with doing that, is that if the Wix integration you're using isn't leveraging Stripe Billing objects, then there won't be anything to display in our Customer Portal. I'd probably suggest looking to see if Wix offers something similar to our Customer Portal that works with how they manage Subscriptions on their end.

pallid wing
#

I mean replace Wix integration with Customer Portal.

primal lintel
#

Oohh, um, I don't know what all the Wix integration offers you, but the Customer Portal likely isn't a total replacement for it. That portal is useful for allowing customers to maintain their existing Subscriptions, if I'm not mistaken though it doesn't allow them to create new Subscriptions. You would need another flow for that, and Checkout Sessions may be a good option for that:
https://stripe.com/docs/billing/subscriptions/build-subscriptions

pallid wing
#

I guess I might have skipped a step. So I would have the Checkout Sessions replace the current Wix check out process. Then once the subscription is purchased, the customer will be able to manage the subscription through Client Portal.