question

jishnu avatar image
jishnu asked David Marginian Deactivated commented

developer pay api master card

I am trying in the sandbox environment and trying to pay through developer pay api. It works for sample visa card number:

4111111111111111

But when tried to test using a sample master card number:

5500000000000004

I am getting this error.

{
    "paymentId":"7PK2F125NK5BY",
    "result":"DECLINED",
    "failureMessage":"SERV NOT ALLOWED: Card type cannot be processed on your merchant proc          essing account. Ask for another form of payment. Contact support if you believe this to be incorrect."
}

What does this error refer to?

REST APIPaymentsDeveloper Pay API
10 |2000

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

1 Answer

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Where did you get that card number? See https://docs.clover.com/docs/test-card-numbers. You shoudl NOT be using the Developer Pay API. It has been superseded by our EComm API (https://docs.clover.com/docs/clover-development-basics-ecommerce) and is being phased out.

4 comments
10 |2000

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

jishnu avatar image jishnu commented ·

Is there any option to add tips in EComm API?
If I develop my app using developer pay API, will I face any problem in the app approval process?

0 Likes 0 ·
jishnu avatar image jishnu David Marginian ♦♦ commented ·

If I develop my app using developer pay API, will I face any problem in the app approval process?

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community