0
我正在使用objectiveC中的条款付款。我在CheckoutVC.m视图控制器中设置了cvc,帐号等。条纹集成中的设置金额
- (STPCardParams *)getCardParams {
STPCardParams *cardParams = [[STPCardParams alloc] init];
NSArray *dateCoponents = [txtExpirationDate.text componentsSeparatedByString:@"/"];
cardParams.number = txtCreditCardNo.text;
cardParams.expMonth = [(NSString *)[dateCoponents firstObject] integerValue];
cardParams.expYear = [(NSString *)[dateCoponents lastObject] integerValue];
cardParams.cvc = txtCvv.text;
return cardParams;
}
我的问题是如何设置金额$ 10。 任何人都可以帮助我。
您可以提供简单的方法。像cardParams.amount等这是非常困难的。 –
选中此项,https://stripe.com/docs/mobile/ios/custom –