/
Work with Payment Requests
Work with Payment Requests
Find an example implementation in the example app’s pay package.
When your activity is launched with intent, follow these steps to receive and handle the payment request:
Extract the payment request ID from the intent with
getRequestId()
:val requestId = getRequestId(intent)
Retrieve the payment details set by other Gini SDKs (like the Gini Health SDK) using
GiniBank.getPaymentRequest()
:val paymentRequest: PaymentRequest = GiniBank.getPaymentRequest(requestId)
Show the payment details to your user:
showPaymentDetails( paymentRequest.recipient, paymentRequest.iban, paymentRequest.bic, paymentRequest.amount, paymentRequest.purpose )
After the user initiates the payment, mark the payment request as paid, using
GiniBank.resolvePaymentRequest()
:Let your user return to the app that started the flow using
GiniBank.returnToPaymentInitiatorApp()
:
, multiple selections available,
Related content
No Results
No Results
Read with this
Work with Payment Requests
Work with Payment Requests
More like this
Camera and Flash
Camera and Flash
Read with this
Work with Payment Requests
Work with Payment Requests
More like this
Multi-Page
Multi-Page
Read with this
Work with Payment Requests
Work with Payment Requests
More like this
Gini GmbH | Ridlerstr. 57 | 80339 München