简体   繁体   English

Paypal ASP.NET 核心 MVC 中可变金额的定期付款

[英]Paypal recurring payments with variable amount in ASP.NET Core MVC

Paypal recurring payments with variable amount in ASP.NET Core MVC I am working on a student online payment using Paypal payment gateway and ASP.NET Core MVC. Paypal recurring payments with variable amount in ASP.NET Core MVC I am working on a student online payment using Paypal payment gateway and ASP.NET Core MVC.

I have completed the initial module of paying the amount from student account to administrative account using sandbox environment but facing a problem in proceeding further.我已经完成了使用沙盒环境从学生账户向管理账户支付金额的初始模块,但在继续进行时遇到了问题。

The requirement is to auto debit fee from students account on scheduled duration weekly or monthly while the fee amount will differ from their last paid fee amount, the PayPal developer documentation suggest to use Paypal Subscription or Paypal Recurring Payment, but since the fee will not be same for every payment, I hope subscription won't be best suitable for this also could not able to find sufficient implementation or code samples for this.要求是每周或每月从学生帐户中自动扣除费用,而费用金额将不同于他们上次支付的费用金额,PayPal 开发人员文档建议使用 Paypal 订阅或 Z9B88C95A15E018C3F8038A7D每次付款都一样,我希望订阅不会最适合这个,也找不到足够的实现或代码示例。

My questions:我的问题:

  1. Will Paypal Subscription be right logic this requirement? Paypal 订阅是否符合这个要求?
  2. Is there any other concept in Paypal to achieve this requirement programmatically? Paypal 中是否还有其他概念可以以编程方式实现此要求?
  3. Has anyone implemented subscription or created a recurring payment plan using ASP.NET Core MVC?有没有人使用 ASP.NET Core MVC 实施订阅或创建定期付款计划?

Please share you knowledge.请分享你的知识。 Thank you for your time.感谢您的时间。

When using PayPal Subscriptions, revising the subscription to a different amount or plan requires the payer's consent.使用 PayPal 订阅时,将订阅修改为不同的金额或计划需要付款人的同意。 This is not suitable if the amount is going to change every cycle.如果金额将在每个周期发生变化,则此方法不合适。

An integration that does not require the payer's consent for changing amounts will use a feature called "reference transactions" or sometimes "billing agreements".不需要付款人同意更改金额的集成将使用称为“参考交易”或有时“计费协议”的功能。 It is not enabled for PayPal business accounts by default. PayPal 企业账户默认不启用。 To request the feature, the owner of the live PayPal account should contact PayPal's general business support (note: not technical support) and explain the business need for this reference transactions feature.要请求该功能,实时 PayPal 帐户的所有者应联系 PayPal 的一般业务支持(注意:不是技术支持)并说明此参考交易功能的业务需求。

If it's approved for the account, PayPal can then guide you on which integration to use -- be it the older billing agreements API or a newer v2 or v3 vault one.如果该帐户获得批准,PayPal 可以指导您使用哪种集成——无论是旧的计费协议 API 还是更新的 v2 或 v3 保险库之一。

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

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