- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying the subscription button. First, how do you link it to a sandbox account? That's not clear. So I tested it with a low price and real user.
I didn't get any webhook events. Then I realized when I created the button it was not linked to any of apps, so of course a web hook would not be called.
So I'm really confused now. How programmatically do I know a customer signed up for my service? I have to turn the service on so I need notification somehow. And unlike the Buy Now buttons there's no callback either. How is this supposed to work?
Thanks for any insights.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="YAQMDE7BZ5DFY">
<input type="image" src="https://www.paypalobjects.com/en_US/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.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Solved! Go to Solution.
- Labels:
-
Payments REST APIs
-
Webhooks REST APIs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. That explains why it didn't work at least. Does it even say that anywhere? I'm beyond confused as to why it just doesn't work like everything else. The documentation is so bewildering it's hard to understand what's happening at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was told that if you use the buttons you will not be able to get the webhooks. If you want to use webhooks you have to use REST. I am too far into my implementation when I found this out, so I am going to use cron jobs to find out when subscriptions will expire.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. That explains why it didn't work at least. Does it even say that anywhere? I'm beyond confused as to why it just doesn't work like everything else. The documentation is so bewildering it's hard to understand what's happening at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not that I am aware of. I have almost given up because their documentation is all over the place.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs
- subscription_id has disappeared in REST APIs
- How to get the custom field from a payment with webhook/API? in REST APIs
- Paypal subscription Api in REST APIs