eltrino / magento2-hyva-checkout-stripe

5 stars 2 forks source link

Incorrect additional_data Handling on Payment Submission Retry #7

Open Jihad-orienteed opened 7 months ago

Jihad-orienteed commented 7 months ago

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.

kulbich commented 7 months ago

Hi @Jihad-orienteed Thank you for reporting the issue, we'll check it.