Issue Overview:
When submitting payment information through the form, if the initial submission fails due to incorrect details and the user corrects the details for a second submission, the additional_data associated with the payment remains empty or incorrect, leading to a failed submission. This issue occurs despite correct information being provided on the second attempt. The expected behavior is for the additional_data to update correctly with the new, valid details upon re-submission, allowing for a successful payment process.
Steps to Reproduce:
Open the payment form and enter incorrect payment details.
Place order
Correct the payment details to ensure they are valid.
Re-submit the form.
Observe that the submission fails due to additional_data not being updated or reset correctly after the first failed attempt.
Issue Overview: When submitting payment information through the form, if the initial submission fails due to incorrect details and the user corrects the details for a second submission, the additional_data associated with the payment remains empty or incorrect, leading to a failed submission. This issue occurs despite correct information being provided on the second attempt. The expected behavior is for the additional_data to update correctly with the new, valid details upon re-submission, allowing for a successful payment process.
Steps to Reproduce:
Open the payment form and enter incorrect payment details. Place order Correct the payment details to ensure they are valid. Re-submit the form. Observe that the submission fails due to additional_data not being updated or reset correctly after the first failed attempt.