question

todd-w-ark avatar image
todd-w-ark asked David Marginian commented

Sandbox unexpected card decline "RE008 - Field Not Allowed: TransID"

For a previous working test Visa in sandbox we are no seeing a new decline message and have not had much luck in looking up the error message's meaning.


Request

curl --request POST \
     --url https://scl-sandbox.dev.clover.com/v1/charges \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
     --header 'Content-Type: application/json' \
     --data '
{
     "ecomind": "ecom",
     "amount": 5100,
     "currency": "usd",
     "source": "6N36TXN7RS49E",
     "tax_amount": 110,
     "tip_amount": 135
}
'

Response

{
  "message": "402 Payment Required",
  "error": {
    "code": "card_declined",
    "message": "RE008 - Field Not Allowed: TransID|",
    "charge": "JYNPZ1HP1P1BM",
    "declineCode": "issuer_declined"
  }
}

Related, we get the same error when attempting pay on an order through

https://scl-sandbox.dev.clover.com/v1/orders/ZADHAGA6S94MR/pay

Where we have attached the same customer to that order. Tried other previously working customer and getting the same.

Has there been an backend change that requires us to use newer Visa Test #s. For successful charges using

  • 4242 4242 4242 4242
  • 4111 1111 1111 1111

Thanks,

Todd

REST APISandbox
10 |2000

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

David Marginian avatar image
David Marginian answered

Sandbox uses an emulated gateway that from time to time has issues like this. Can you get any card working?

10 |2000

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

todd-w-ark avatar image
todd-w-ark answered todd-w-ark edited

Tried both of the VISA from above, can add just not charge. Through my iFrame just tried adding AMEX 3782 822463 10005 (https://docs.clover.com/docs/test-card-numbers). That was added and I WAS able to make a charge.

Could it be the payment gateway emulator is just down for VISA? Could this indicate a change in VISA processing that is coming for the gateway? Most of our customers use VISAA

10 |2000

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

todd-w-ark avatar image
todd-w-ark answered David Marginian commented

How the does "RE008 - Field Not Allowed: TransID" translate into sandbox payment gateway down for VISA but not AMEX? Is there a clover dev doc somewhere with these error codes?

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.

I didn't say the gateway is down. Sandbox uses an emulator and some rule probably changed. I wouldn't worry about this too much. Test with the Amex.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community