Hello everyone,
I'm having troubles getting the PayPal Express Checkout window to show while using the Non-receipt payment processing.
Here is a look at my code where the Express Checkout window should show:
void payForPurchase(string orderId) { PlayFabClientAPI.PayForPurchase(new PayForPurchaseRequest() { OrderId = orderId, ProviderName = "PayPal", Currency = "RM" }, result => { // Handle success Debug.Log("Pay for purchase was successful"); confirmPurchase(orderId); }, error => { // Handle error Debug.LogError(error.GenerateErrorReport()); }); }
Within paypal, I have added billing_api1.playfab.com to allow permissions and added the express checkout window (and all other permissions for PayPal)
I have also added the PayPal Merchant ID my PlayFab PayPal in the Addons page.
looked at 2 other questions and they didn't seem to offer much help https://community.playfab.com/questions/638/208252737-PlayFab-and-PayPal-integration-problem.html
and
https://community.playfab.com/questions/21817/confirmpurchase-failed-by-payment-provider.html
i previously asked this question because i believed my issue was that the PayerID was missing. This was simply due to the fact that the Express Checkout window never showed up: https://community.playfab.com/questions/47914/checkout-payerid-is-missing.html?childToView=47973#answer-47973
I believe the issue with with my code. It seems like I have everything else configured correctly. Let me know if you have any potential ideas or can point me in the right direction.
Thank you!