使用paypal restfull api重新支付付款,买家将使用信用卡支付而不是paypal帐户 [英] Reccuring Payments with paypal restfull api, buyer is going to pay with credit card not paypal account

查看:104
本文介绍了使用paypal restfull api重新支付付款,买家将使用信用卡支付而不是paypal帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生,



我想通过paypal使用restfull api通过mvc c#技术整合定期付款和信用卡。



我已阅读

http://www.codeproject.com/Tips/886187/PayPal-REST-API-Recurring-Payment-via-Stored-Credi

链接文章,我想用它



但是在这篇文章中没有任何参数可以保留'不。我的订阅计划的Days'是我的付款将用于下次付款



PLZ先生建议我api的确切方式所以我可以实施定期付款





谢谢



(mohan raj)

Respected Sir,

I want to integrate recurring payment with credit card by paypal using restfull api through mvc c# Technology.

I have read
http://www.codeproject.com/Tips/886187/PayPal-REST-API-Recurring-Payment-via-Stored-Credi
link article and i want to use it

But in this article there is no any parameter which hold 'No. of Days' for my subscription plan for which my payment would be do for next payment

plz sir suggest me exact way for api so i can implement recurring payment


thanks

(mohan raj)

推荐答案

PayPal并不关心天数 - 这对于商家来说真的很重要(例如你在这种情况下)

来管理 - 它可能是商人的任何东西希望这对于订阅计划具有商业意义 - 例如



每月更新

续订6个月/半年
每年更新



因此,如果客户使用的是信用卡,您可以



1)执行初始付款作为定期付款(执行初始付款是好的,它验证客户是财务的,卡是真实的)



2 )将信用卡存储在Paypal保险库中(阅读Paypal API docs - 也许是定期选项,也许是一步)并获得一个令牌作为回报



从1或2你得到一个令牌 - 你安全地存储针对客户账户



3)您使用客户的代币在您确定的续订期间执行后续交易



即基本要点 - 阅读Paypal API /开发人员文档我非常肯定会为您提供更详细的信息 - 您应该能够重用该文章中的大部分代码和想法
PayPal doesn't care about 'Number of days' - thats really for a Merchant (ie you in this case)
to manage - it could be anything the Merchant wants that makes business sense for a 'subscription plan' - for example

renew monthly
renew 6-monthly/half yearly
renew yearly

So, if its a credit card the customer is using, you can

1) perform an initial payment as a recurring option (performing an initial payment is good, it verifies the customer is financial and the card is authentic)

2) store the credit card in the Paypal vault (read the Paypal API docs - maybe the recurring option does this, maybe its a single step) and get a Token in return

From 1 or 2 you get a Token - you store this securely against the customer account

3) you use the customer's token to perform subsequent transactions at renewal periods determined by you

thats the 'basic gist' - reading the Paypal API/Developer doc will Im pretty sure give you more detailed information - you should be able to reuse most of that code and ideas from that article


这篇关于使用paypal restfull api重新支付付款,买家将使用信用卡支付而不是paypal帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆