Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paypal Vault and IOS mobile SDK

Tags:

paypal

Can we store or use the vault feature of paypal via the IOS Mobile SDK?

I know we have to use the REST API to verify the payment after it has been made - Can we also call the vault API to store the customers credit card so that the customer doesn't have to renter their credit card details again when using our app?

Thanks!

like image 564
user2928838 Avatar asked Oct 24 '25 06:10

user2928838


1 Answers

Dave from PayPal here.

Within the PayPal iOS SDK we do store the customer's credit card information (using the PayPal vault), so that your customer can in the future make another payment using your app without needing to re-enter that information.

For this storage to occur, when you create the PayPalPaymentViewController you must pass in a non-nil payerId string. If for a subsequent payment you provide the same payerId, then the previously stored credit card information will be retrieved.

like image 69
Dave Goldman Avatar answered Oct 28 '25 05:10

Dave Goldman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!