question

shyam avatar image
shyam asked

How to get PayPal reference transaction id in Unity?

How to get PayPal reference transaction id in Unity?

10 |1200

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

brendan avatar image
brendan answered

Yes, the Transaction ID from PayPal will be the TransactionId in the player_realmoney_purchase event (https://api.playfab.com/playstream/events/player_realmoney_purchase) your title receives on a successful PayPal purchase.

10 |1200

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

franklinchen avatar image
franklinchen answered

The PayPal payment flow uses PlayFab wrapped API: StartPurchase, PayForPurchase and ConfirmPurchase. The most important data is OrderId and PurchaseConfirmationPageURL before moving into purchase confirmation process. See here.

1 comment
10 |1200

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

shyam avatar image shyam commented ·

Is it possible to get the reference transaction id? The backend team in our project can use it to cross check the transaction.

0 Likes 0 ·

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.