question

developer1 avatar image
developer1 asked bryanvargas commented

multiple devices / lines and atomic order api

if you have multiple lines or devices for 1 merchant and using create atomic order api, Will order shows up in all connected devices?

REST 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

·
bryanvargas avatar image
bryanvargas answered bryanvargas commented

Yes orders will sync with all devices on the same account.

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

alyx avatar image alyx commented ·

hey brayanvargas I am having some questions


1)Can you please tell me how to generate OAuth code in the server side because i dont want to use User Interface for that i want it to generate in server side ?

2)I want to deduct money from the server site from client credit card and for every transaction do i have to generate OAuth code for that ?

3) What is the lifetime of )Auth code can it be used for multiple transaction ?

4) Can i drectly do tracsaction using Ecommerce Api token in the server site with out using OAuth code ?

0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ alyx commented ·

1. If you are using REST APIs. The merchant has to go through OAuth to grant your apps permissions to read/write their data. https://docs.clover.com/docs/using-oauth-20

2. If the merchant already has the app installed, you do not need to OAuth every time (soon there will be refresh tokens to be implemented). If you are tokenizing the card fully through API to make charges you need to generate a static PAKMS key for that merchant (once) to token the card to be used for the ecomm charges along with your OAuth token. https://docs.clover.com/docs/ecommerce-generating-a-card-token#generate-a-pakms-key

3. OAuth tokens is per merchant not per credit card customers. Customer's credit cards will have a card token/source if you save it to their profile.

4. No if you review our API reference, the OAuth code is required to make the request: https://docs.clover.com/reference/createcharge

0 Likes 0 ·

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