首页 文章

激活条纹解析ios应用程序的livemode

提问于
浏览
1

我的目标C应用程序在Stripe付款的测试模式下工作 . 但是现在我在testflight上测试它并且想要获取真实的信用卡号码 . 我已经交换了pk_live键(虽然我不确定在哪里/我是否需要更新我的sk_live密钥) .

我正在使用真实的信用卡测试该应用程序,以测试付款是否正在收费,但继续获得Parse Error 141.我认为该问题与应用程序仍在响应,就像它在testmode中一样 . 如何触发它在livemode中响应?

我正在使用Parse后端 . 我已经从我的网络仪表板手动将Stripe置于“实时”模式 .

谢谢

这是Stripe发生的事情:

"id":"ch_161iHxblahblahblah","object":"charge","created":1431455974,"livemode":假,"paid":假,"status":"failed","amount":300,"currency":"usd","refunded":假,"source":{"id":"card_161iHxblahblahblah","object":"card","last4":"1234" ,"brand":"Visa","funding":"credit","exp_month":10,"exp_year":2018,"country":"US","name":null,"address_line1":null,"address_line2":null,"address_city":null,"address_state":null,"address_zip":null,"address_country":null,"cvc_check" :"pass","address_line1_check":null,"address_zip_check":null,"dynamic_last4":null,"metadata":{},"customer":null},"captured":false,"balance_transaction":"txn_162I2Rblahblahblah","failure_message":“您的卡被拒绝 . 您的请求处于测试模式,但已使用非测试卡 . 有关有效测试卡的列表,请访问:https://stripe.com/docs/testing .", " failure_code ": " card_declined ", " amount_refunded ": 0, " customer ": null, " invoice ": null, " description _294726 7_收费为test@example.com ", "争议": null, "元": { }, " statement_descriptor ": null, " fraud_details ": { }, " receipt_email ": null, " receipt_number ": null, "航运": null, " application_fee ": null, "退款": { "对象": "列表", " TOTAL_COUNT ": 0, " has_more ": false, "网址": " / V1 /费用/ ch_161iHxblahblahblah /退款", "数据“:

]

}}

1 回答

  • 0

    我解决了这个问题......现在看起来非常愚蠢但是如果有其他人陷入这个基本步骤:

    密钥位于您通过Parse Cloud Code访问或创建的main.js文件中 . https://parse.com/apps/quickstart#cloud_code

    转到Parse仪表板,然后转到Core,然后转到Cloud Code以确认您已部署它 .

相关问题