I am trying to implement iDeal payment method using stripe in my flutter app, but i am stuck.
What i have tried:
RaisedButton(
child: Text("Create Source"),
onPressed: () {
StripePayment.createSourceWithParams(SourceParams(
type: 'ideal',
amount: 1099,
currency: 'eur',
returnURL: 'example://stripe-redirect',
)).then((source) {
_scaffoldKey.currentState.showSnackBar(SnackBar(content: Text('Received ${source.sourceId}')));
setState(() {
_source = source;
});
}).catchError(setError);
},
),
I have tried and successfully created source of the payment as described in the example app
i am using flutter plugin: stripe_payment
but i don't know how to use it and complete the payment.
Please help!