question

mohit avatar image
mohit asked vinodshetye-1 answered

Charge Payment in Production

Hi,

My AppId is 94GDWMDGYWBPC and I am using the charge payment API for production

https://scl-sandbox.dev.clover.com/v1/orders/${orderId}/pay`, order, options

But getting the error

message: '403 Forbidden'

Is the reason, I am entering the dummy card details or some permissions is missing? Because in the development environment I am able to charge the payment successfully.

REST APIecommerce
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

·
vinodshetye-1 avatar image
vinodshetye-1 answered

hi Mohit,

thanks for question. URL you are using is for sandbox.

Please , ref this document for correction

https://docs.clover.com/reference/api-reference-overview#production-base-urls

hope this helps !

Vinod Shetye

-Clover eComm Team

10 |2000

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

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