简体   繁体   English

Paypal REST API - 信用卡验证,无需收费

[英]Paypal REST API - Credit-Card verification without charging

I am using the Paypal Rest API in my C# .Net Framework 4.5.1 to verify credit-card payments. 我在C#.Net Framework 4.5.1中使用Paypal Rest API来验证信用卡付款。

I want to be able to verify the credit card of a customer while registering them to my website. 我希望能够在将客户的信用卡注册到我的网站时验证该信用卡。 What I am currently doing is, I charge the customer $0.01 and refund it back right away in order to verify the credit-card. 我目前正在做的是,我向客户收取0.01美元并立即退款以验证信用卡。

I don`t think this is practically the right way to verfiy the credit card. 我认为这实际上是验证信用卡的正确方法。 So, is it possible to verify credit-cards directly (without charging anything) using the Paypal Rest API ? 那么,是否可以使用Paypal Rest API直接验证信用卡(不收取任何费用)?

Paypal has a sandbox mode where you can create fake users and do fake transactions Paypal有一个沙箱模式,您可以在其中创建虚假用户并进行假交易

More info : https://developer.paypal.com/docs/classic/lifecycle/ug_sandbox/ 更多信息: https//developer.paypal.com/docs/classic/lifecycle/ug_sandbox/

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

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