Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We have encountered a very strange problem.
Now we are testing abnormal processes, such as incorrect card number, and found a problem.
When we initiate the payment for the first time, we can successfully initiate the payment and get the failure result.
When we initiate the payment again, the error message "Your payment can't be processed for technical reasons. Please try a different payment method." appears, and we cannot jump to our checkout page.
Who can help look at this problem, thank you.
One possibility occurs to me. Should we call PaymentSessionReject when we encounter something wrong, such as the user entering the wrong card number?