Discussions

Ask a Question
Back to All

Android SDK

Hi, I'm having difficulty integrating satispay into my Android app. I am using the SDK you provided. I can't understand what to replace "TEST_API" in this line:

Uri uriToCheck = SatispayIntent.uriForPayChargeId (SatispayIntent.SANDBOX_SCHEME, "generic", "TEST_API");

Also, I am using laravel for my backend, I installed your gbusiness-api-php-sdk SDK but at the time of authentication via these lines of code:

\ SatispayGBusiness \ Api :: setSandbox (true);

$ authentication = \ SatispayGBusiness \ Api :: authenticateWithToken ("RYTRR7");

  $ publicKey = $ authentication-> publicKey;
$ privateKey = $ authentication-> privateKey;
$ keyId = $ authentication-> keyId;

dd ($ publicKey);

I'm getting the error: Forbidden, request id: 1DM2aAtC.

Is it possible to understand how to integrate your payment method? I would need to give users the possibility to pay for a shop through Satispay.