Skip to content

Donation page hanging on stripe returning Zip Code / other errors #57

@graceolivia

Description

@graceolivia

System

Drupal 10
Stripe

Issue

If RemoteForms successfully sends out a payment to Stripe but Stripe sends back an error instead of a success - say because the zip code wasn't entered in their iFrame (it springs out at the last minute and some of my users miss it), the error only prints off in the console log, as caused by this line.

The program stops there and the spinner continues until the user refreshes, which is confusing for them because they don't know what went wrong.

My solution

I put together one (somewhat hacky) solution to this on my forked copy of RemoteForms and I would be happy to polish it up and make a PR here if that would be useful to others! Let me know, and thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions