Register Login

Purchases

Discounts before checkout, and how R3FTO reads your Steam sales.

Step 4. Purchases

  1. Before checkout, call client.GetPurchaseBenefitAsync with your product ID to see if the player gets a discount.
  2. Call client.CreatePurchaseContextAsync with the same product ID.
  3. Run your normal Steam checkout. Apply only the discount R3FTO returned.

If a purchase context cannot be created, continue the checkout without an R3FTO discount. The SDK never makes up a discount and never blocks a purchase.

You do not report sales. R3FTO reads your in-game sales, refunds and chargebacks from Steam with your key and matches each one to the player through the linked Steam account.

Store rewards. Your Program Terms can set a fixed reward for a purchase of the game or of a DLC on Steam. R3FTO checks these purchases with Steam itself, after the player signs in with Steam on the creator link.

Documentation

Back to site