📌  相关文章
📜  未捕获的 TypeError:paypal.Buttons 不是函数 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:48.458000             🧑  作者: Mango

代码示例1
wilo_ahadi
 wilo_ahadi Contributor Contributor
‎Jul-02-2021 09:29 PM
I solved the problem like this :

 

1. Added "data-namespace" attribute to the script tag that loads PayPal SDK :



 

2. Setup the transaction :

paypal_sdk.Buttons().render('#paypal-button-container');