- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to able to detect a successful arb payment so that I can send our user's emails when their payment has gone through. I figured I would be able to use webhooks. However, the webhook documentation doesn't make it clear how to detect a successful arb payment.
I couldn't figure out what to expect from the documentation, so I created a webhook endpoint that records what gets sent to it, then I created a subscription and waited to receive a webhook notification. The problem is that when I did get a notification, the authMount value was 0.0. In the sandbox dashboard, I can see the subscription, and it says the amount is $199, and that 1 payment has gone through.
So, my question is this: How do I detect a successful subscription payment? Is it normal for a subscription notification to have an authAmount of 0.0, or is this a bug in the sandbox env? Please advise me how to detect a successful subscription payment with webhooks.
Solved! Go to Solution.
08-18-2017 01:41 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @skyhijoseph1
An ARB transaction would be AuthCapture, so if you add a Webhook it will notify you when a transaction is processed. Then use the Transaction ID to get details for the transaction. If it was for a subscription, they transaction details will include a section for Subscription ID.
Richard
08-25-2017 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If there is a free trial, then need to perform a zero dollar authorization; receipt is also required to be sent to customer.
Just confirming that is not the case here.
Payment Gateway and Merchant Services Consultant
08-23-2017 08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There were 0 trial_months for the test subscription. Also, I'm pretty sure that this should be possible with webhooks, since the webhooks documentation explicitly states that a use case for webhooks is detecting successful arb payments.
08-23-2017 12:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Come on, there's got to be a way to do this.
08-25-2017 03:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've just noticed that every webhook request that I've gotten in Sandbox has had an authAmount of 0.0. So I guess webhooks don't work yet.
08-25-2017 04:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @skyhijoseph1
An ARB transaction would be AuthCapture, so if you add a Webhook it will notify you when a transaction is processed. Then use the Transaction ID to get details for the transaction. If it was for a subscription, they transaction details will include a section for Subscription ID.
Richard
08-25-2017 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, I see, thanks.
Is there a way do distinguish an arb AuthCapture transaction from another AuthCapture transaction? Also, is it normal for every webhook request to have an authAmount of 0.0? If so, then what's the point?
08-25-2017 04:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nvm, you already answered my question, the transaction response have a subscription id
08-25-2017 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @skyhijoseph1,
Just FYI, the amount = 0.00 is a known problem that's currently being worked on. Unfortunately I can't provide any timeline on a fix.
08-25-2017 04:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Aaron - is this an issue only in the sandbox or is amount=0.00 in production too?
08-29-2017 12:54 PM