question

lennart862 avatar image
lennart862 asked

Problem with PayPal refunds

I have a problem with getting the information whether a purchase has been refunded in the following situation:

Player purchases virtual currency via PayPal.

Player visits Paypal a week later and asks for refund.

How would the android app get the information whether this purchase has been refunded? I would like to do something like

var OrderRequest = new GetPayPalPaymentInfo();

OrderRequest.OrderID = "123456ABCDEF";

...

Thanks in advance!

Partner Add-ons
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

I am not sure if PlayFab has built-in support for it but as far as I know, since the whole process is completed in the PayPal interface and what PlayFab does is querying the status for the payment via order ID, you can try to call Client API GetPurchase to get the PurchaseStatus.

Nevertheless, in many scenarios, we’d still recommend you to use PayPal API to check more detailed transaction information. You may find more help from PayPal developer community.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.