Smart Payment Buttons render error
VasilisaA
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-27-2019
08:02 PM
I added the PayPal JavaScript SDK to my web site:
<script src="https://www.paypal.com/sdk/js?client-id=SB_CLIENT_ID"></script> // Required. Replace SB_CLIENT_ID with your sandbox client ID.
Added conteiner for button:
<div id="paypal-button-container"></div>
After rendered the PayPal Smart Payment Button and received error 'paypal is not defined':
<script> paypal.Buttons().render('#paypal-button-container'); </script>
what I'm doing wrong?
Labels:
Login to Me Too
- Labels:
-
PayPal HTML Buttons
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
- Sandbox testing has beaten me !! in Sandbox Environment
- PayPal Buttons not visible in Sandbox Environment
- Add Others data in SDKs
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard