Hello, I want to set STPPaymentMethodParams to cardtextfield, I want to fill the cardtextfield automaticaly if the user have made a payment, I don't want the user need to re-enter the card information, but have the field already filled in. so i tried doing this with STPcardParams and setting it to cardtextfield but it seems deprecated
I believe in your code example, mycardParams.card is nil. You'll need to set mycardParams.card = [[STPPaymentMethodCardParams alloc] init]before setting name, number, etc.
Hello, I want to set STPPaymentMethodParams to cardtextfield, I want to fill the cardtextfield automaticaly if the user have made a payment, I don't want the user need to re-enter the card information, but have the field already filled in. so i tried doing this with STPcardParams and setting it to cardtextfield but it seems deprecated
that cause a crash
so I change this by with STPPaymentMethodParams
but that crash too with this error message
Fatal error: STPPaymentCardTextField only supports Card STPPaymentMethodParams: file StripePaymentsUI/STPPaymentCardTextField.swift, line 445
can someone help me please Thank