简体   繁体   English

如何获取Paypal定期付款资料的信用卡详细信息

[英]How to get credit card details of Paypal Recurring payments profile

I am creating a Recurring payment profile using Direct payment(credit card details entered during registration are not stored in database). 我正在使用直接付款创建定期付款资料(注册期间输入的信用卡详细信息未存储在数据库中)。 I want to update/change the bill amount for every bill cycle(because billing is done per user per month). 我想更新/更改每个账单周期的账单金额(因为每个用户每月都要完成账单结算)。

I am using UpdateRecurringPaymentsProfileDetails API method to change the amount, but the method needs credit card details again(for each time it is called). 我正在使用UpdateRecurringPaymentsProfileDetails API方法来更改金额,但是该方法再次需要信用卡详细信息(每次调用时)。 I am getting the credit card details using GetRecurringPaymentsProfileDetails, but this method just returns the last 4 digits of credit card(and does not return CVV2, but this is not major issue here). 我正在使用GetRecurringPaymentsProfileDetails获取信用卡详细信息,但是此方法仅返回信用卡的最后4位数字(并且不返回CVV2,但这在这里不是主要问题)。

Is there any other option to get the full credit card details(at least credit card number) using Paypal APIs or should I have to store credit card numbers in my database? 是否有其他选择可使用Paypal API获取完整的信用卡详细信息(至少信用卡号),还是我必须将信用卡号存储在数据库中? Any help would be highly appreciated. 任何帮助将不胜感激。

It's unlikely that you'll be able to get the full credit card number from PayPal; 您不太可能从PayPal获得完整的信用卡号; that's why people use PayPal. 这就是人们使用PayPal的原因。

Storing credit card information in your database is a huge liability, and should be avoided if at all possible. 在数据库中存储信用卡信息是一项巨大的责任,应尽可能避免使用。 Once you start storing that information, your company is responsible for keeping that information secure (and that includes developers). 一旦开始存储该信息,您的公司将负责确保该信息的安全(包括开发人员)。 Use another third party component if you must, but don't take on such an enormous liability. 如果需要,请使用其他第三方组件,但不要承担太大的责任。

I don't know what company you work for, but that's not a decision that a developer should be making on their own. 我不知道您在哪家公司工作,但这并不是开发人员应该自己做出的决定。 Entire companies have been shut down for mishandling credit card information. 整个公司因信用卡信息处理不当而被关闭。 The law around that stuff is extremely murky, and even the smallest mistake can result in massive fines. 有关这些东西的法律极其模糊,即使是最小的错误也可能导致巨额罚款。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM