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