Step 3. Set up the payment processed and cancel subscription notifications
Learn how to set up payment processed and cancel subscription notifications by navigating through the Extension Studio and updating notification properties.
See Create a callout template section for instructions on entering the other field values.
- Navigate toExtension Studio > Events & Notifications in the left navigation menu.
- Locate the notification for the Payment Processed event and click the Edit icon . The Edit Notification Definition page opens.
- Update the following properties:
- Basic Information: -Toggle to enable the Active field.
- System Filters : Select Electronic from the Payment Type drop-down list.
- Delivery Options : Select the checkbox for the Callout delivery type and select a callout template from the dropdown list.
- Click Save .
- Click the Callout Templates tab and locate the callout template for the Payment Processed event you selected in step 3.
- Click Edit .
- Update the following information:
- HTTP Method : POST
- Request URL : “https://<yourdomain>/plugins/public/zuora-billing/subscriptionCharged”
- Request Body : Click Add Parameter , then specify the Parameter Name field as accountId and select Account.ID for the Parameter Value field. Note the lowercase “a” and lowercase “d” at the start and end of accountId.
- Request Authentication
:
- Select Username/Password from the Authentication Type list, then specify the Username, Password and Domain fields. (You’ll also need to add these values to Zephr later; choose a strong password, for example a randomly generated UUIDv4.) Note: You can specify any string value for the Domain field. But you must use the same value here for all the notifications set up for the integration, and the same value must also be specified for the Realm field on the Zephr side later.
- Check the Enable Preemptive Authentication checkbox.
-
Click
Save
.
See section for instructions on entering the other field values.