You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. Call `startActivityForResult()` using the Intent, you should define a constant requestCode parameter.
305
305
6. Override `onActivityResult()` and use `SatispayIntent.ApiStatus.from(resultCode, data)` for parse the results.
@@ -538,9 +538,7 @@ public class MyActivity extends AppCompatActivity {
538
538
539
539
## Pay with charge charge id
540
540
541
-
To start a payment intent from your app, use the chargeId obtained from your server.
542
-
543
-
Please note: details on how to obtain a chargeId available at: [https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-charge](https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-charge)
541
+
You could start payment intent from your app using chargeId.
544
542
545
543
Steps:
546
544
@@ -608,15 +606,13 @@ public class MyActivity extends AppCompatActivity {
608
606
609
607
## Request: Pre Authorized Payments
610
608
611
-
To start a "Pre Authorized Payment" intent from your app, use the token obtained from your server.
612
-
613
-
Please note: details on how to obtain a token available at: [https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-charge](https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html#create-a-charge)
609
+
You could start authorization intent from your app using authorization token.
614
610
615
611
Steps:
616
612
617
613
1. Check if you could use `preAuthorizedPayment()` on user device (use `isSatispayApiAvailable("satispay://external/preauthorized-payments/payment?id=TEST_API")`)
618
614
2. Check response of `isSatispayApiAvailable()` is true you can proceed, else you can check the error code.
619
-
3. Get token [from your backend](#more-info).
615
+
3. Get authorization token [from your backend](#more-info).
620
616
4. Build `payPreAuthorizedPaymentIntent` using follow URI: `satispay://external/preauthorized-payments/payment?id=[token]`
621
617
5. Call `startActivityForResult()` using the Intent, you should define a constant requestCode parameter.
622
618
6. Override `onActivityResult()`.
@@ -678,13 +674,13 @@ public class MyActivity extends AppCompatActivity {
678
674
679
675
## More info
680
676
681
-
### Pay with charge charge id: obtain Charge id
677
+
### Pay with charge id: obtain chargeId
682
678
683
-
Additional info on how to create and handle charges are available in the Online API documentation at:https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html
679
+
Additional info on how to create and handle the ChargeId (ID of the payment) are available at https://developers.satispay.com/reference#create-a-payment
684
680
685
-
### Pre Authorized Payments: obtain token
681
+
### Pre Authorized Payments: obtain authorization token
686
682
687
-
Additional info on how to create and handle Pre Authorized Payments are available in the Online API documentation at:https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html
683
+
Additional info on how to create and handle the authorization token are available athttps://developers.satispay.com/reference#create-authorization
0 commit comments