Adds a processing status to submitted stablecoin paymentsBreaking changes
What’s new
PaymentIntents confirmed with the crypto payment method for stablecoin payments now have a status of processing when a user submits a transaction to the blockchain for processing. Users only redirect back to your integration when a payment is finalized.
Impact
Previously, the PaymentIntent denoted success or failure by transitioning from requires_ to either succeeded or requires_.
With this change, when using the crypto payment method:
- If you retrieve the PaymentIntent while customers are waiting for the transaction to confirm, the 
statusfield now shows a value ofprocessing. - If you attempt to cancel a confirmed PaymentIntent with the 
processingstatus, the request fails with errorpayment_.intent_ invalid_ cancellation_ state  
You can optionally set up your webhook endpoint to listen for the payment_ event to be notified when the PaymentIntent transitions to the processing status.
The customer isn’t redirected while the PaymentIntent has the processing status, so your checkout experience shouldn’t require any changes.