Skip to main content
Answer

Flutter: Promotional Offers can not complete purchase

  • September 26, 2021
  • 1 reply
  • 230 views

Forum|alt.badge.img+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?

Best answer by ryan

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).

This post has been closed for comments

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • September 28, 2021

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).