Table of Contents

Notifications: events posted to the Callback URL

Overview

This is a list of events that are posted to the Callback URL defined in the Notification Settings. Some of these events are configurable on the “Events” section of the Notification Settings page (e.g. how many days after a declined payment should SubscriptionBridge reminder a customer to pay the outstanding balance?), other are not (e.g. you have no control on “when” a new customer buys a new subscription). The Notification Settings are defined at the store level within the SubscriptionBridge Merchant Center.

Using Events

Events are posted in a universal XML standard formatting. The callback application or file you specify in your Callback URL must receive the event message. Next, it must parse the message to determine the event code. After the callback application knows event code of the message it has received it can use the GUID (unique subscription identifier) to perform a specific action. For example, if a callback application receives a message with event code “sb_n_3a” it will know that a trail was converted to full. The application can then parse the GUID from the message and use it to update the local database, perhaps enabling some new content or features that not available during the trial.

Event Messages

All event messages contain the same basic information:

A typical event message will appear as follows:

Events/ Event Codes

1. Thank You

2. Trial To Expire

… where the number of days (“N” and “M”) is defined in the Notification Settings for the store.

3. Subscription Status Switched

4. Transaction Successful

5. Transaction NOT Successful

6. Subscription Balance Paid

7. Subscription Balance Unpaid

8. Subscription Canceled

9. Subscription Changed

10. New Balance

11. Credit Card Expiring