简体   繁体   English

贝宝定期付款(“订阅”按钮)付款响应

[英]PayPal recurring payment (Subscription button) payment response

I'm using recurring payment (subscription button) feature in my web application. 我在Web应用程序中使用了定期付款(订阅按钮)功能。

I charge 15 USD \\ month for a subscription. 我每月收取15美元的订阅费用。

This is the HTML form I got from PayPal's generator: 这是我从PayPal的生成器获得的HTML表单:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="BUTTON_ID">
    <input type="image" src="https://www.sandbox.paypal.com/en_US/IL/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Of course I changed the BUTTON_ID field to my real Button ID. 当然,我将BUTTON_ID字段更改为我的真实按钮ID。

Now, It seems to work fine, but how do I get a notification of a new subscription (not via email) that I can handle by code? 现在,它似乎工作正常,但是如何获得我可以通过代码处理的新订阅(不是通过电子邮件)的通知?

I'm working with ASP.NET 4.0, Javascript & jQuery. 我正在使用ASP.NET 4.0,Javascript和jQuery。

I'd love some help. 我希望有帮助。 Thanks! 谢谢!

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

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