Notification of Cancellations

david.ells's Avatar

david.ells

12 Oct, 2009 02:15 PM

If a user's credit card fails and the user's subscription is automatically canceled, how will we as the service provider be notified? Are cancellations included in the transactions that go the transaction post hook URL? Will we receive an email?

EDIT: Cancellation push notification is now available: http://support.cheddargetter.com/faqs/api-8/event-push-notification

  1. Support Staff 1 Posted by Marc Guyer on 12 Oct, 2009 03:20 PM

    Marc Guyer's Avatar

    David -- You can receive an email if you add a BCC address to the email notifications configuration. You can then use filters in your email client to handle for different notification types. There is a custom email header in all emails sent by CG: X-CG-Type.

  2. Marc Guyer closed this discussion on 12 Oct, 2009 03:20 PM.

  3. david.ells re-opened this discussion on 12 Oct, 2009 05:56 PM

  4. 2 Posted by david.ells on 12 Oct, 2009 05:56 PM

    david.ells's Avatar

    It would be nice to have the event available programatically through a post hook URL, as a way to have a more hands off way to cancel an account on our end in reaction to an automatic cancellation from payment failure, any plans on including that in the future?

  5. Support Staff 3 Posted by Marc Guyer on 12 Oct, 2009 06:32 PM

    Marc Guyer's Avatar

    We never considered this type of functionality. We've always thought that this information would be pulled from CG rather than pushed by CG, upon login, for instance.

    That said, I can see how a push in this case would be valuable. I've added it to the wishlist.

    In the meantime, can you rely on a pull method? If this functionality is only for access control, I would think that a pull would be sufficient. If, for example, you provide a service to your customer without that customer having logged in recently, then maybe a pull would not be sufficient. Even so, if this service isn't provided often, maybe a pull prior to performing the service would take care of it.

  6. 4 Posted by Philip Crawford on 12 Oct, 2009 08:20 PM

    Philip Crawford's Avatar

    I think I'm missing something.

    In Configuration --> Settings there is a field for Transaction Post Hook. Is that called in this scenario?

    "When CheddarGetter issues a transaction request to the gateway on behalf of [product}, upon response from the gateway some data will be sent to this URI via a POST request."

  7. 5 Posted by david.ells on 12 Oct, 2009 08:24 PM

    david.ells's Avatar

    Our entry point for service is through an API, so depending on the call / how many calls the client is making, it could be considerable unwanted network overhead to pull from CG about the customer's info each time they want to make an API call. This is really only a situation in the case that a subscription is canceled from non payment. Otherwise, everything else that happens with their account happens through our interface and we update our data accordingly then.

  8. Support Staff 6 Posted by Marc Guyer on 12 Oct, 2009 08:57 PM

    Marc Guyer's Avatar

    A cancellation is an event separate from a transaction. A customer could be canceled for non-payment (due to too many declined payments) or for not updating their expired card before their invoice is due. They can also be canceled manually for whatever reason.

    In the case of too many declined payments, yes, you can use the transaction post hook to be informed of this. If the payment is declined, you would then execute a customer/get and check to see if the customer had been canceled as a result of the declined transaction.

    Yeah, it would be crazy for you to execute a CG API request every time your customer executed a request against your API.

    It's on the list.

  9. Marc Guyer closed this discussion on 12 Oct, 2009 08:57 PM.

  10. david.ells re-opened this discussion on 01 Feb, 2010 02:41 PM

  11. 7 Posted by david.ells on 01 Feb, 2010 02:41 PM

    david.ells's Avatar

    We still need this feature, which is, to be notified of account cancellation programmatically, much like the transaction post hook. Is it still on the list? When do you think this feature could be released? Can you bump up the priority?

  12. Support Staff 8 Posted by Marc Guyer on 01 Feb, 2010 03:19 PM

    Marc Guyer's Avatar

    David -- It's on the list. You're comment just bumped it but we still don't have a solid timeline. We'll keep you posted.

  13. 9 Posted by Dan Kamins on 05 Feb, 2010 10:22 PM

    Dan Kamins's Avatar

    I also would like to be notified on a system level if a subscription is cancelled or changed. Our application is not just gated web content -- we have APIs and other interactions too.

    FYI Chargify handles this by posting just a list of customer IDs that have changed status (a list of ints). It is then the application's responsibility to check what changed.
    http://support.chargify.com/faqs/api/api-subscription-update-post-b...

    I don't love that approach, as it involves a lot of network back and forth and queueing and such, but maybe that would be easier for CG to implement compared to coming up with a more complicated and future-proof XML interchange. At least it would be a good start!

  14. Support Staff 10 Posted by Marc Guyer on 05 Feb, 2010 10:36 PM

    Marc Guyer's Avatar

    A this time, there are only 2 events that warrant push notification. Cancellations and transactions (supported). Since CG doesn't currently provide a hosted payment page, all other actions are initiated via API. We plan to provide a hosted page in the future so we'll consider a more comprehensive approach to push notification when we get to the cancellation notification feature request.

  15. Support Staff 11 Posted by Marc Guyer on 02 Mar, 2010 02:16 PM

    Marc Guyer's Avatar

    Cancellation push notifications are now available: http://support.cheddargetter.com/faqs/api-8/event-push-notification

  16. Marc Guyer closed this discussion on 02 Mar, 2010 02:16 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM