webdna / commerce-braintree

Braintree gateway for Craft Commerce
Other
2 stars 10 forks source link

Test card numbers for unsuccessful verifications creating successful transaction #10

Closed zackspear closed 5 years ago

zackspear commented 5 years ago

Hey there, we're very close to going live with the plugin so naturally we've been doing some thorough testing. When testing Braintree's "Card numbers for unsuccessful verification" I'm getting a successful transaction – redirected to the thank you page with order details and in the CMS the transaction has a status of "Success".

I wouldn't imagine this to be what's supposed to happen. Or am I missing something here?

Any insight would be great.

Thanks in advance 🙏

mcjackson18 commented 5 years ago

Hi @zackspear, the link you sent is only for verifying cards (which is different to creating a transaction). To test unsuccessful transactions you will need to adjust the amount as outlined here - Testing Transaction amounts

zackspear commented 5 years ago

😅 ah good case of RTFM. First time working with Braintree and it's mostly solo work.

Cheers @mcjackson18