Skip to main content
Solved

Flutter: Promotional Offers can not complete purchase

  • September 26, 2021
  • 1 reply
  • 198 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).

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • 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).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings