question

tagline avatar image
tagline asked parquet76 edited

I am getting CORS error form api https://apisandbox.dev.clover.com/pakms/apikey

I am trying to do an online payments for that i am generating token using
https://apisandbox.dev.clover.com/pakms/apikey
api, but it shows CORS error, I have added the site URL and cors domain as localhost://5000
Api works find on postman. Is there anything i am missing?

Paymentse-commerce 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

·
parquet76 avatar image
parquet76 answered parquet76 edited

You shouldn't be making that call from a web browser. It should be a one time (for each merchant) server to server call and you should store the key.

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