thank you,
How does this component work under android and ios?
Can you give a demo project?
'''
var AStripe: IpasStripe;
var AParams: IpsCreateCheckoutParams;
var AUrl: string;
var AAccount: IpsAccount;
AStripe := TpsFactory.PasStripe('sk_live_', 'acct_');
AParams := TpsFactory.CreateCheckoutParams(cmPayment, scUnknown);
AParams.PaymentMethods := [pmCard];
AParams.Currency := TpsCurrency.scUnknown;
AParams.SuccessUrl := 'http://******';
AParams.CancelUrl := 'http://a*******‘;
AParams.LineItems.AddLineItem('item-' + pid, 1, amount * 100, '', TpsRecurring.None);
AUrl := AStripe.GenerateCheckoutSession(AParams).Url;
OpenURL(AUrl);
'''
in androind, has error
'the page you were looking for could not be found please check the url or contact the merchant'
thank you,
How does this component work under android and ios?
Can you give a demo project?
'''
var AStripe: IpasStripe;
var AParams: IpsCreateCheckoutParams;
var AUrl: string;
var AAccount: IpsAccount;
AStripe := TpsFactory.PasStripe('sk_live_', 'acct_');
AParams := TpsFactory.CreateCheckoutParams(cmPayment, scUnknown);
AParams.PaymentMethods := [pmCard];
AParams.Currency := TpsCurrency.scUnknown;
AParams.SuccessUrl := 'http://******';
AParams.CancelUrl := 'http://a*******‘;
AParams.LineItems.AddLineItem('item-' + pid, 1, amount * 100, '', TpsRecurring.None);
AUrl := AStripe.GenerateCheckoutSession(AParams).Url;
OpenURL(AUrl);
'''
in androind, has error
'the page you were looking for could not be found please check the url or contact the merchant'