条带集成问题:您的卡的有效期无效 [英] Stripe integration issue : Your card's expiration year is invalid

查看:50
本文介绍了条带集成问题:您的卡的有效期无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中实现条纹.我正在使用信用卡号:4242 4242 4242 4242 Exp月:02 Exp年:2020用于测试.但这给我错误您的卡的有效期限无效"

I want to implement stripe in my application. I am using Credit Card Number: 4242 4242 4242 4242 Exp month :02 Exp Year:2020 for testing purpose. But it gives me error "Your card's expiration year is invalid"

推荐答案

仅需要有效期的最后两位数字,因此请发送 .expMonth = 02和 .expYear STPCardParams 中的code> = 20.

Only the last 2 digits of the expiration year are required, so send .expMonth = 02 and .expYear = 20 in your STPCardParams.

这篇关于条带集成问题:您的卡的有效期无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆