parse.com - Activating livemode for stripe parse ios app -


i've got objective c app working in test mode stripe payments. i'm testing on testflight , want take real credit card numbers. i've swapped in pk_live key (though i'm unsure where/if need update sk_live secret key).

i'm testing app real credit card test payments being charged keep getting parse error 141. think issue related app still responding if it's in testmode. how trigger respond in livemode?

i'm using parse backend. i've manually put stripe "live" mode web dashboard.

thanks

this happening @ stripe:

"id": "ch_161ihxblahblahblah", "object": "charge", "created": 1431455974, "livemode": false, "paid": false, "status": "failed", "amount": 300, "currency": "usd", "refunded": false, "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": "your card declined. request in test mode, used non test card. list of valid test cards, visit: https://stripe.com/docs/testing.", "failure_code": "card_declined", "amount_refunded": 0, "customer": null, "invoice": null, "description": "charge test@example.com", "dispute": null, "metadata": { }, "statement_descriptor": null, "fraud_details": { }, "receipt_email": null, "receipt_number": null, "shipping": null, "application_fee": null, "refunds": { "object": "list", "total_count": 0, "has_more": false, "url": "/v1/charges/ch_161ihxblahblahblah/refunds", "data": [

] 

} }

i resolved this... seems silly in case else gets stuck @ basic step:

the secret key goes in main.js file access or create via parse cloud code. https://parse.com/apps/quickstart#cloud_code

go parse dashboard, core, cloud code confirm have deployed it.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -