How to Get the Order ID and other Order Information with a Subscription Activated Notification

Overview

You cannot get the Order ID and/or other order information in a Subscription Activated Notification. Instead, you need to create an Order Completed (one per product) Notification, following the steps below.

Creating an Order Completed (one per product) Notification

To create notifications associated with subscriptions that have access to data only found in the order, go to SpringBoard's Store Home » Notify. Click Add next to Custom Notifications.

notify.png 403.png

Select Order Completed (one per product) as the Event Type. Select HTTP URL as the Destination. Create a URL on your server, such as http://www.yoursite.com/callback/order.php, and enter this URL as the Live Server URL. Select Name/Value Parameters for the Content Type. Click Next. Click Move to Active Status.

Note: If you have both subscription products and regular non-subscription digital products, you will have to limit the notification to subscription products.

583.png

Limiting the Order Completed (one per product) Notification to First Order Only or Rebills Only

By default, the Order Completed (one per product) Notification will fire for both the initial order and all future rebills. To limit the Order Completed (one per product) Notification to the initial order or to rebill orders only, click on the Conditions tab. Under Rule Applicability, select Applies to Non-Rebills / First Orders Only or Applies to Rebills Only. Click Save.

519.png 520.png

Limiting the Order Completed (one per product) Notification to Subscription Products

If you have both subscription products and non-subscription digital products in your store, you will need to restrict the Order Completed (one per product) Notification. After you have created the notification, click on the Conditions tab. Click Add Product. Choose one of your subscription products and click Add. Repeat the process until you have added all of your subscription products.

516.png517.png

Please note: If you do not add a Product Condition on the Order Completed (one per product) Notification when you have non-subscription digital products in your store, then when these products are ordered you will receive notifications that do not contain correct information.

Changes to the Variable Names

When you use an Order Completed (one per product) Notification to resemble a Subscription Activated Notification, all subscription variables that would have been #{subscription.*} in the Subscription Activated Notification are equivalent to the subscription subset of the OrderItem variables #{orderItem.subscription.*} in the Order Completed (one per product) Notification.

We're Here to Help

If you need assistance getting the Order ID and other order information in a notification, please open a support ticket.

Have more questions? Submit a request

Comments

Powered by Zendesk