'PayPal JavaScript SDK with only client-id (no secret key)
is it possible in production mode to use the PayPal Javascript SDK only with the client ID without secret key? There are problems or is this possible? So only the client code without the server code.
Thanks
Solution 1:[1]
Yes; a client-side only integration of the PayPal JavaScript SDK uses only a client-id.
A secret would instead be used to integrate server-side API calls (see the optional bullet #5 in add and modify the code here). That is something you should do if you need to record successful transactions in a database or anything of that nature.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |