question

paulryan avatar image
paulryan asked David Marginian answered

Cloud Pay Semi-Integration

Hi David,



I developing cloud Pay integration, I have successfully connected clover mini with cloud pay ruining.

plus complete sale etc..

The payment is initiated from a PHP site, which is www.example.com From here we redirect to payments.example.com for payment (which is the NodeJS site).


Initially on payments.example.com there is a redirect from to the Clover domain in order to verify the Clover merchant:


window.location.href = this.targetCloverDomain + "/oauth/authorize?response_type=token&client_id=" + this.appId;



After the merchant logs in and the browser is redirected back to payments.example.com from Clover, a connection to the device is made.


Is their away of removing redirection to clover portal ?



Thanks


Cloud Pay Display
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

· Write an Answer
David Marginian avatar image
David Marginian answered

Hi Paul,

When the merchant initially authorizes your app (https://docs.clover.com/docs/using-oauth-20), you would need to securely store the token for that merchant so that you could use it on subsequent requests.

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