javascript - How to store credit card in Paypal Vault without using the server as a proxy -
we using paypal vault store credit cards. (https://developer.paypal.com/webapps/developer/docs/integration/direct/store-a-credit-card/) goes this:
1) ajax call browser server 2) server sends request accesstoken paypal 3) paypal responds token
so: user browser -> our server -> paypal -> our server
because of new internal policy need remove 2nd step. so, should go users browser paypal, receive token, store token
user browser -> paypal -> user browser -> our server
any thoughts on that?
update:
safe send access token through browser? (i can create on server) https://developer.paypal.com/docs/integration/direct/make-your-first-call/
Comments
Post a Comment