Thank you page after payment with paypal buttons
racheldavid
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-10-2024
12:03 AM
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!
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.
Related Content
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- [WooCommerce PayPal Payments] - Required phone country code, different than the cards country code. in PayPal Payments Standard