Hi,
We are in the process to integrate paypal and I am a little confused about the confirmpurchase() using unity SDK. In the documentation
https://api.playfab.com/docs/tutorials/landing-commerce/non-receipt-payment-processing
we can see a field called "status:succeed" but we cannot see that variable when using the API, so are we supposed to call this function after the payment has been done (so do we need to ask the user to press a button after payment) or can we poll this every N seconds to check if the item has been purchased ? Right now when the Paypal dialog is displayed with the correct price and everything the user can enter his paypal login, but if if we call confirmpurchase() without touching anything, we got the following error :
PlayFabError(FailedByPaymentProvider, Failed by payment provider, 400 BadRequest - Details: ProviderErrorCode: 1 | ProviderErrorMessage: Failure | ProviderErrorDetails: FinalizeTransaction failed, Ack=FailureExpress Checkout PayerID is missing. The PayerID value is invalid.
So can somebody advise if we did something wrong or what should be the correct flow ? To get confirmation in the client side that the Paypal transaction was OK ?
Thank you