激活Stripe Parse iOS应用程序的livemode



我的目标c应用程序在测试模式下工作条纹付款。但是现在,我正在测试它在测试范围内,并希望使用真实的信用卡号。我已经换了PK_LIVE键(尽管我不确定/如果需要更新我的SK_LIVE SERTIC KEY)。

我正在使用真实信用卡测试该应用程序,以测试付款是否已收取费用,但请继续解析错误141。我认为该问题与该应用程序有关,该应用程序仍然响应仍在testmode中。我如何触发它以在livemode中响应?

我正在使用解析后端。我已经从网络仪表板中手动将条纹放入"实时"模式中。

谢谢

这就是条纹的发生:

" id":" ch_161ihxblahblahblah", "对象":"充电", "创建":1431455974, " livemode":false, "付费":错误, "状态":"失败", "金额":300, "货币:美元", "退款":错误, "来源": { " id":" card_161ihxblahblahblah", "对象":"卡", " last4":" 1234", "品牌":"签证", "资金":"信用", " exp_month":10, " exp_year":2018, "国家":"我们", "名称":null, " adverse_line1":null, " adverse_line2":null, " advelly_city":null, " advelly_state":null, " advelly_zip":null, " adverse_country":null, " cvc_check":"通过", " adversy_line1_check":null, " advelly_zip_check":null, " dynamic_last4":null, "元数据":{ },, "客户":空 },, "捕获":false, " balance_transaction":" txn_162i2rblahblahblah", " fafe_message":"您的卡被拒绝。您的请求处于测试模式,但使用了非测试卡。对于有效的测试卡列表,请访问:https://stripe.com/docs/testing。 " fafe_code":" card_declined", " MANTER_REUNDED":0, "客户":null, "发票":null, "描述":" test@example.com的费用", "争议":无效, "元数据":{ },, " statement_descriptor":null, " fraud_details":{ },, " receipt_email":null, " receip_number":null, "运输":null, " application_fee":null, "退款":{ "对象":"列表", " total_count":0, " has_more":false, " url":"/v1/chorges/ch_161ihxblahblahblah/退款", "数据":[

]

}}

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

秘密键在您访问或通过解析云代码创建的main.js文件中。https://parse.com/apps/quickstart#cloud_code

转到您的解析仪表板,然后核心,然后云代码确认已部署。

最新更新