Checkout Purchase can help you build the ability to receive subscriptions on your website or application
Pending
subscription will be created and remain in that state for several days (3
days by default) while waiting for the user to complete the purchase.
Once the payment is successful, the subscription will transition to the active
state. At that point, you can either receive a webhook event or retrieve the subscription details via the API.
To integrate properly:
subscription.activate
or invoice.paid
.