#coccodrill-payments

1 messages · Page 1 of 1 (latest)

obtuse oxide
low frigate
#

hello

obtuse oxide
#

hello, are you a developer building a stripe integration?

low frigate
#

sto integrando stripe sul mio woocommerce

#

i am integrating stripe on my woocommerce

#

I had done the tests with test cards and everything was fine when I went online with the site

#

from error to payments

#

resource_missing - payment_method
No such paymentmethod: 'pm_1JYCXiCosLTLvZruTxdYp6qY'; a similar object exists in test mode, but a live mode key was used to make this request.

#

this is the mistake

#

how can I do?

obtuse oxide
#

you're developing the integration right?

#

the error tells you what the issue is: No such paymentmethod: 'pm_1JYCXiCosLTLvZruTxdYp6qY'; a similar object exists in test mode, but a live mode key was used to make this request.

#

you're using a livemode key in your backend but a test mode key in your frontend

low frigate
#

so the mistake is in changing the frontend key?

#

how can I do?

obtuse oxide
#

I can't walk you through that. You just need to change the publishable key you're using in your webpage, to your live mode key

low frigate
#

but the key is the same as I use the backend?

#

should be put the same on the front?

obtuse oxide
#

I think there might be some misunderstanding here

there are 2 type of Stripe API keys, a publishable key that you use in your webpage, looks like pk_test_123 for test mode and pk_live_456 for live mode

and then there is aa secret key that you use on the backend, looks like sk_test_123 for test mode and sk_live_567 for live mode

#

so you have a mismatch of API keys

low frigate
#

I have this screenshot here

#

with my connected account

obtuse oxide
#

is that a panel you created? or is that just the WooCommerce plugin panel?

low frigate
#

plugin

obtuse oxide
#

yeah so you need to talk to the plugin support in that case, they built and control the integration, they can help you

low frigate
#

ok how do i contact them?

obtuse oxide
#

I don't know, I would search your plugin name on Google and find the Support contact from there