Solved

Flutter: Promotional Offers can not complete purchase

  • 26 September 2021
  • 1 reply
  • 99 views

Badge +4

I am implementing Promotional Offers in a flutter app. 

Everything works exactly as it should until just after you have approved the purchase, then I get the purchase did not go through, contact the developer.

error handling shows "One or more of the arguments provided are invalid." but both arguments are correct product and correct paymentdiscount.

Is this possible to test in flutter? Since documentation is not available for flutter, I have followed react native.

Does it matter that I test in the sandbox?

icon

Best answer by ryan 28 September 2021, 02:35

View original

1 reply

Userlevel 5
Badge +9

Hey @OhCleo,

 

Are you testing on a physical device, and are you waiting for the subscription to expire before attempting to purchase the promotional offer? I’ve had issues redeeming promotional offers in sandbox if the current subscription is active, but works after the current subscription expires (this issue doesn’t exist in production).

Reply