Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1325

Payment.updated webhook not triggered for subscription payment

$
0
0

We have a mobile Application. This mobile application is integrated with In-App Payments SDK . When the user logs into the mobile application, and want to subscribe to the mobile application, they enter the card details using In-App. Card Source (starting with “cnon:”) corresponding to the card information entered is received along with other items as response from In-App. This card source and other related information is passed to an Asp.Net Web API.

The Web API does 2 things:

  1. Calls the CreatePayment API of Square using the Card Source receive above for a customer.
  2. Once the CreatePayment API is successful, a subscription is created for the customer by calling the CreateSubscription API.

We have also configured Webhooks for payment.updated and subscription.updated events. The moment the payment is made (when the Web API calls the CreatePayment API), payment.updated webhook is triggered. But when the subscription is due on a date, the payment.updated is not triggered.

What could be the reason? Am I missing anything?

7 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1325

Trending Articles