Feature proposal #8399
Updated by krileon over 3 years ago
Currently we're calling confirmCardPayment, etc.. basically confirm api to confirm a payment initially. This results in the subscription needing to be created with a delay using trial_end. delay. However for payment intents we can instead just capture the payment method using createPaymentMethod API. Next we'd pass that method to the create subscription API and handle the initial payment in add_invoice_items as we've done already for checkout and source/token usage. This won't really have a functional difference, but cleans up the behavior and makes subscriptions make more sense in Stripe dashboard.