I need help with a way to redirect after a payment.

I will keep this brief, I was hoping there is a way that after somebody completes a paypal transaction, then it would redirect them to another page on the website allowing them to see what they bought (in this case it is sport picks) Any Ideas? I’m at a loss.

1 Like

Triston, are you using Wix Stores or the pay API?

I have both, but I’m not set on using anything just yet. I’m just looking for ideas.

An important thing to keep in mind is that a total Wix Stores approach using the built-in Wix Stores pages does not allow programmatic access to the Wix stores order data after an order is placed. You wouldn’t know what the customer bought in order to display a custom page where they could see what they just purchased.

A workaround using Wix Stores is where you could have your own product page and use the addToCart function and record in your collection what was purchased, but then you would need to monitor the removing from the cart with a RemoveFromCart track event. I haven’t done the latter and cannot vouch for how effective it would be in practice. If you have all of this working to your satisfaction, then you could use the wix-location to command in the onReady function of the Wix Stores thank you page to re-route the customer to a custom page that displays the order the way you want.

For total control of the process, use the pay API.

Something also to consider is that the PayPal auto-response email provides quite informative payment information with either the Wix Stores or pay API approach.

I hope this helps.

1 Like

I want to redirect to an information request page so I can get copy required to complete “vendor listings” which is the “product” I am selling. How do I do this?

with an “upload image” for the company logo.