question

chrisjholly avatar image
chrisjholly asked Omar Reyes commented

Simulating declined orders

Hi

I am testing on your sandbox environment using a clover mini and want to simulate card payments getting declined.

I am following the guide: https://docs.clover.com/faq/#how-do-i... on how to send payment details for the order to be charged against. I get the key and generate the encrypted card number and sent it to POST /v2/merchant/{mId}/pay along with CVV.

Paying with a real credit card with a fake cvv still returns me a "APPROVED" response.

How can I test payments being declined?

My merchant I'd is 8V89E7JW95VJ6

Thanks

Orders
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Omar Reyes avatar image Omar Reyes commented ·

This might help: https://docs.clover.com/faq/how-can-i...

I believe you need to be in a "CERT environment, and not pointed to blackhole" and then use one of the test cards here to simulate a decline https://devask.clover.com/question/24...

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community