Stripe 集成问题:您的卡的到期年份无效

Stripe integration issue : Your card's expiration year is invalid

我想在我的应用程序中实现条纹。 我正在使用信用卡号:4242 4242 4242 4242 Exp month :02 Exp Year:2020 进行测试。但它给我错误 "Your card's expiration year is invalid"

只需要到期年份的最后 2 位数字,因此请在您的 STPCardParams.

中发送 .expMonth = 02 和 .expYear = 20