I just moved from Sandbox to Live. I'm using smart buttons to initiate the subscription. actions.subscription.create({
plan_id: this.planId,
application_context: { shipping_preference: 'NO_SHIPPING' }
})
onApprove: (data, actions) => {
this.updateClientSubscription(data.subscriptionID, this.planId)
} In Sandbox mode, the following web hook events have the same resource.id as the subscription ID above, which I've assume is how you trace the events. BILLING.SUBSCRIPTION.CREATED BILLING.SUBSCRIPTION.ACTIVATED PAYMENT.SALE.COMPLETED However, In Live mode, the BILLING.SUBSCRIPTION.CREATED is returning a completely different resource.id than all three of the others. There seems to be no way of connecting the BILLING.SUBSCRIPTION.CREATED webhook event back to the original subscriptionID. Is this a Problem in LIVE mode or am I missing something?
... View more