Thank you page after payment with paypal buttons

racheldavid
Contributor
Contributor

I'd like my users to get to a thank you page after paying using the new Paypal buttons. I set up an auto-return on my Paypal account and set the thank you page, but it's not sending users to that page after payment. Once the user pays, it just sends them back to the page the button was on. This is my code: 

 

<script src="https://www.paypal.com/sdk/js?client-id=BAAiBGLnyG8IzzRJ6maM89TEikyHXXjDoLbU01sMq5M_1ZF6_tKZgWKbT8nX..."></script>
<div id="paypal-container-VW93NQYT7ULPA"></div>
<script>
paypal.HostedButtons({
hostedButtonId: "VW93NQYT7ULPA",
}).render("#paypal-container-VW93NQYT7ULPA")
</script>

 

I would greatly appreciate help! 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.