简体   繁体   English

如何通过 Android 在 Paypal 保险库中保存信用卡详细信息以及如何检索它们以备将来使用

[英]How to save credit card details in Paypal vault via Android and how to retrieve them to use them in future

I need to integrate Paypal Payment in my application.我需要在我的应用程序中集成 Paypal Payment。 I have integrated the same successfully by referring to the below links:我通过参考以下链接成功地集成了它:

https://developer.paypal.com/docs/classic/mobile/ht_mpl-itemPayment-Android/ https://developer.paypal.com/docs/classic/mobile/ht_mpl-itemPayment-Android/

http://www.theappguruz.com/blog/integrate-paypal-in-android http://www.theappguruz.com/blog/integrate-paypal-in-android

Now, if I use a credit card for payment, I can process the payment using Paypal.现在,如果我使用信用卡付款,我可以使用 Paypal 处理付款。

Concerned Issue关注问题

Now if I need to use the credit card again to perform some other payment.现在,如果我需要再次使用信用卡进行其他支付。 I need that the card should be saved in the vault of the paypal server and should be shown in my application wallet.我需要将卡保存在贝宝服务器的保险库中,并显示在我的应用程序钱包中。 and only required information such as CVV No. or Pin etc. should be entered by the user and the card can perform its operation.用户只需输入CVV号或Pin等必要信息,卡片即可进行操作。 I am using the below link.我正在使用以下链接。 But it doesn't clear my thoughts how to use it.但它并没有清除我的想法如何使用它。

https://developer.paypal.com/docs/integration/direct/rest-vault-overview/ https://developer.paypal.com/docs/integration/direct/rest-vault-overview/

Can anyone provide any help or guidance for this issue?任何人都可以为此问题提供任何帮助或指导吗?

we can call vault pay pal api using retrofit library and following the steps mentioned in below two links of pay pal.First we have to call the first restful pay pal api to get access token.Once we get this access token we can call the vault api of pay pal to store credit card.Below are links for pay pal restful api:我们可以使用改造库并按照以下两个pay pal链接中提到的步骤调用Vault pay pal api。首先我们必须调用第一个restful pay pal api来获取访问令牌。一旦我们获得了这个访问令牌,我们就可以调用保险库pay pal 用于存储信用卡的 api。以下是 pay pal restful api 的链接:

1) https://developer.paypal.com/docs/integration/direct/make-your-first-call/ 1) https://developer.paypal.com/docs/integration/direct/make-your-first-call/

2) https://developer.paypal.com/docs/api/vault/ 2) https://developer.paypal.com/docs/api/vault/

I was able to store credit card details using retrofit library and following proper steps to pass the parameters and using proper headers in retrofit.我能够使用改造库存储信用卡详细信息,并按照正确的步骤传递参数并在改造中使用正确的标题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在没有Paypal帐户的情况下使用Paypal保存信用卡? - How to save Credit card with Paypal without Paypal account? 如何在 ANDROID (JAVA) 中不使用 CardInputWidget 为条纹设置借记卡或信用卡详细信息 - How to set Debit or Credit card Details for stripe without use of CardInputWidget In ANDROID (JAVA) 在Android上通过NFC阅读Visa payWave信用卡详细信息 - Reading Visa payWave Credit Card Details via NFC on Android 如何从 GPSD 检索数据并在 Android 客户端中使用它们 - How to retrieve data from GPSD and use them in Android Client 如何将文件保存在android存储设备上,写入文件并在以后访问它们? - How to save files on android storage, write to them, and access them later on? 如何使用Android设备sd-card通过USB调试模式保存/检索数据? - How to save/retrieve data with android device sd-card, via USB Debugging mode? 如何自动增加值并将其保存在Android中的列表中 - How to autoIncrement values and save them in a List in Android 如何保存Android通知并在重新启动时将其还原 - How to save android notifications and restore them on reboot Android将聊天记录保存到sqlite数据库并检索 - android save chats to sqlite db and retrieve them Android上的Paypal Save Card - Paypal Save Card on Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM