I wanna store card details while using Paypal payment, there is any why in Paypal SDKs which store details of card.
我想在使用Paypal支付时存储卡的详细信息,Paypal SDK中有任何存储卡详细信息的原因。
2 个解决方案
#1
PayPal's REST API calls this a "Vault" and allows you to save the credit card details on PayPal's server so you don't have to save it on your own server. This way you can still process saved cards without any risk of saving it on your own server.
PayPal的REST API称之为“Vault”,允许您将信用卡详细信息保存在PayPal的服务器上,因此您无需将其保存在自己的服务器上。这样,您仍然可以处理已保存的卡,而不会有将其保存在您自己的服务器上的风险。
The Classic API (which is what I still prefer) has the same thing except that it's called Reference Transactions. You can run a card verification / $0 authorization, and then in the future you make a call to DoReferenceTransaction to process any amount you need using the card details PayPal has saved on their server.
Classic API(我更喜欢的)具有相同的功能,除了它被称为引用事务。您可以运行卡验证/ $ 0授权,然后将来使用PayPal在其服务器上保存的卡详细信息来调用DoReferenceTransaction以处理您需要的任何金额。
Either way it's just a matter of building the API requests per the documentation. There are SDKs available to help you with this.
无论哪种方式,只需根据文档构建API请求。有SDK可以帮助您解决此问题。
#2
Paypal does not share its users' account details, especially card details to anyone. You have to use the unique account email address to define a user.
Paypal不会向任何人分享其用户的帐户详细信息,尤其是卡详细信息。您必须使用唯一的帐户电子邮件地址来定义用户。
It is highly recommended to not save any payment information of users. Only transaction IDs, and perhaps a unique user ID or hash.
强烈建议不要保存用户的任何付款信息。只有事务ID,可能还有唯一的用户ID或哈希。
#1
PayPal's REST API calls this a "Vault" and allows you to save the credit card details on PayPal's server so you don't have to save it on your own server. This way you can still process saved cards without any risk of saving it on your own server.
PayPal的REST API称之为“Vault”,允许您将信用卡详细信息保存在PayPal的服务器上,因此您无需将其保存在自己的服务器上。这样,您仍然可以处理已保存的卡,而不会有将其保存在您自己的服务器上的风险。
The Classic API (which is what I still prefer) has the same thing except that it's called Reference Transactions. You can run a card verification / $0 authorization, and then in the future you make a call to DoReferenceTransaction to process any amount you need using the card details PayPal has saved on their server.
Classic API(我更喜欢的)具有相同的功能,除了它被称为引用事务。您可以运行卡验证/ $ 0授权,然后将来使用PayPal在其服务器上保存的卡详细信息来调用DoReferenceTransaction以处理您需要的任何金额。
Either way it's just a matter of building the API requests per the documentation. There are SDKs available to help you with this.
无论哪种方式,只需根据文档构建API请求。有SDK可以帮助您解决此问题。
#2
Paypal does not share its users' account details, especially card details to anyone. You have to use the unique account email address to define a user.
Paypal不会向任何人分享其用户的帐户详细信息,尤其是卡详细信息。您必须使用唯一的帐户电子邮件地址来定义用户。
It is highly recommended to not save any payment information of users. Only transaction IDs, and perhaps a unique user ID or hash.
强烈建议不要保存用户的任何付款信息。只有事务ID,可能还有唯一的用户ID或哈希。