question

jms avatar image
jms asked mubashar-abbas commented

Ecommerce /v1/orders/***/pay giving 500 Internal Server Error

Hi, we just noticed our clover e-commerce integration starting to give a 500 Internal Server Error while attempting to pay for an order.

The following is the request/response:

Request:
>> POST /v1/orders/***/pay
>> {"amount":578,"currency":"USD","source":"***","tip_amount":0}

Response:
<< {"message":"500 Internal Server Error","error":{"type":"api_error","code":"processing_error","message":"Internal Server Error."}}

Our integration has been working for some time now and is already on production as well. This issues started to materialize in sandbox on the 14th Friday.

Can you please let us know what is going wrong? Thank you.

e-commerce api
8 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.

David Marginian avatar image David Marginian ♦♦ commented ·

In a moderators only post can you provide an order id? Is this only happening on sandbox?

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

Hi David. We just noticed that it is happening on production as well while testing another issue (https://community.clover.com/questions/24312/overcharging-on-ecommerce-api-if-order-has-discoun.html)

Please let us know what is going on.

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

It is being actively investigated.

0 Likes 0 ·
Show more comments
David Marginian avatar image
David Marginian Deactivated answered

The fix for this was deployed last night.

10 |2000

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

mubashar-abbas avatar image
mubashar-abbas answered mubashar-abbas commented

We are still getting the same error today.

We are hitting the same '/pay' end point. The order id is 6FDV3CNMYD1EY.

{"message":"500 Internal Server Error","error":{"type":"api_error","code":"processing_error","message":"Internal Server Error."}}

The request body is:

{
  "ecomind": "ecom",
  "amount": 4055,
  "currency": "usd",
  "source": "<token>",
  "email": "<email>"
}

Please advise.

8 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.

David Marginian avatar image David Marginian ♦♦ commented ·

It looks like we patched production but not sandbox.

0 Likes 0 ·
mubashar-abbas avatar image mubashar-abbas David Marginian ♦♦ commented ·

Can we get an ETA on when the patch will be applied to sandbox?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ mubashar-abbas commented ·

The update is scheduled for tomorrow.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community