(non-breaking) inaccurate in-cp store credit card error flash message
Open
@benjamindavid is already working on this.
Since Mar 1, 2021.
bug
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
If the wrong CC credentials are used in the in-CP store (in my case it was the wrong card holder), a "couldn't save payment method" error is given regardless of whether the user is asking to save the payment info.
Took me a minute to figure out that the cardholder information was the problem — looked like the bug was Craft getting confused about whether or not to save the payment info.
Steps to reproduce
- Make a purchase in the plugin store (in my case it was a Craft Pro license). Enter the wrong card holder information. Don't ask to save payment info. Submit
- See that the error message seems to think you wanted to save payment info

Additional info
- Craft version: 3.6.6
- PHP version: 7.4.15
- Database driver & version: MySQL 8.0.23
- Plugins & versions:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.