In my flutter app i followed this video steps : https://youtu.be/TrkiSZ2mnlo?si=ko6_FyFvwBjl0mAP :
I have this elevated button to make the purchase :
ElevatedButton(
onPressed: () async {
try{
await Purchases.purchaseProduct('Zenth_2000_coins');
debugPrint('Payment success');
} catch (e){
debugPrint('Failed : $e');
}
},
child: Text(
'Buy',
),
),
now when i test and i hit purchase and type my sandbox account password , the apple pay window close and opens again and if i try again and click purchase and type the password it just keeps on this loop and the transaction never appears on my revenuecat dashboard and never prints payment success ( i ticked the sandbox on revenue cat , and checked all the steps