question

psiebels avatar image
psiebels asked David Marginian Deactivated edited

Payments, tokens, Oauth, Live Endpoints

A few questions regarding payments & tokens

- do oauth tokens expire?

- what is the live/production endpoint for Oauth? https://www.clover.com/oauth/authorize?

- do the API Keys created here Expire: https://docs.clover.com/clover-platform/reference/keys

- what is the live/production endpoint for the API Keys?

- do payment tokens expire? https://docs.clover.com/clover-platform/reference/tokens

- can these tokens be re-used (multi-use tokens) or are they one-rime / single transaction onle?

- what is the live/production endpoint for payment tokens

- what is the live/production endpoint for charges? https://docs.clover.com/clover-platform/reference/charges

- all of my test payments to the sandbox are resulting in a 503 service unavailable error - is there a known reason for this/a known issue with payments in the sandbox?

{"message":

"503 Service Unavailable"

"error":{"code":

"processing_error"

"message":

"Internal Server Error."

}}

PaymentsOAuthDeveloper 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 edited

You need to code your application to account for OAuth and pakms token expiration. Please see OAuth in sandbox vs production - https://docs.clover.com/clover-platform/docs/using-oauth-20, for what url to use in each environment (note all the endpoints follow a similar pattern). The tokens can be multi-use, please see our documentation - https://docs.clover.com/clover-platform/docs/ecommerce-saving-card. Yes, there is an issue right now that we are working regarding the 503.

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 ·

The 503 issue on sandbox has been resolved.

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

Thank you very much! Next questions, related to results when I submit to the live endpoints (after authorizing for my test account connected to live developer account)

- it looks like the transactions are always marked as approved even when I supply invalid card data?

- when I supply valid card data I do not see the transactions debited against my bank account?

- for payments processed via the API - I do not see these in my transactions list in my clover account? Should I expect to see them here or find them somewhere else in my clover account?


Thank you for all of your help.

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

You haven't actually described what you are doing (what calls etc.). Without details I can't help you much.

0 Likes 0 ·
Show more comments

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