简体   繁体   中英

PayPal recurring payment (Subscription button) payment response

I'm using recurring payment (subscription button) feature in my web application.

I charge 15 USD \\ month for a subscription.

This is the HTML form I got from PayPal's generator:

<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.

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.

I'd love some help. Thanks!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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