Show payment result
The YocoSDK.showPaymentResult() is an optional API flow that shows the user a success or error
screen.
Usage
Before calling the YocoSDK.showPaymentResult() method, retrieve the PaymentResult by calling the
YocoSDK.getPaymentResult() method. Pass the PaymentResult as parameter to
YocoSDK.showPaymentResult() to show the user a success or error screen based on the state of the
transaction.
If no users are authenticated, the login flow starts. Once completed, the payment flow continues.
Showing a payment result