How to save credit card details in Paypal vault via Android and how to retreave them to use them in future -
i need integrate paypal payment in application. have integrated same reffering below links:
https://developer.paypal.com/docs/classic/mobile/ht_mpl-itempayment-android/
http://www.theappguruz.com/blog/integrate-paypal-in-android
now, if use credit card payment. can process payment using paypal.
concerned issue: if need use credit card again perform other payment. need card should saved in vault of paypal server , should shown in application wallet. , required information such cvv no. or pin etc. should entered user , card can perform operation. using below link. doesn't clear thoughts how use it.
https://developer.paypal.com/docs/integration/direct/rest-vault-overview/
can provide me or guidance same?
we can call vault pay pal api using retrofit library , following steps mentioned in below 2 links of pay pal.first have call first restful pay pal api access token.once access token can call vault api of pay pal store credit card.below links pay pal restful api:
1) https://developer.paypal.com/docs/integration/direct/make-your-first-call/
2) https://developer.paypal.com/docs/api/vault/
i able store credit card details using retrofit library , following proper steps pass parameters , using proper headers in retrofit.
Comments
Post a Comment