How to redirect user after a Paid Plan is purchased?

Hi guys,
I’ve created a custom-ish paid plan experience:
https://www.thesidehustlecollective.com/offers/startup-kit
*This is a dynamic page created from the default paid plan database

User Sequence
✓ Creates Account
✓Purchases Plan (by sending info to wix-pay to process payment)
? Redirect to custom Thank You Page (once plan is purchased or specifically, once the default payment lightbox is closed. ) :point_down:

Is it possible to do a wixLocation.to() r e-direct using onPlanPurchased?

This would be a great win!
Advanced thanks.

==========
SIDE BAR:

Does anyone have documentation on setting up a completely custom frame by frame for this?
The existing references are either for a free products.
Ideally, I would like to remove some items from the checkout experience, specifically…
• the request for email (or auto populate it)
• and remove the address info

1 Like