#Jonah Librach
1 messages · Page 1 of 1 (latest)
Hello there
Hi
Both the productId and lookup_keys change when I copied the product over to live...
😦
Hmmm can you share an example?
Of my live mode?
My understanding is that the Product and Price ID should change but not the lookup key
Or the test
The productId in test mode is sciugoMain
Can you give me the Price ID instead?
The live mode product that was copied is: prod_O2TkFSZuaqrUru
Not sure if that helps or if you can already see that
Ah that helps
Just can't find it with just sciugoMain
But the other ID works
Let me take a look
Great thanks
Interesting it does look like the lookup_key was not copied over for the Prices. I'll look into whether there is a reason for that or not and file a bug report if we should be copying this as well. In the meantime, you are going to want to just update your Prices in livemode to set your desired lookup_key using: https://stripe.com/docs/api/prices/update#update_price-lookup_key
Ah okay I actually am seeing that this came up in the past
The reason we don't copy the lookup_key is out of concern for collision with live mode Prices that have the same lookup_key
I believe this is API only
Is there any way to test the API in live mode? Just to make sure everything is working?
I know that if I had launched the product to production it would have failed for sure and I would have had no way to no
I mean, I do have metrics, but would be better to know there are issues before launching something broken rather than in production
We can't recommend creating test charges in live mode as this is against card network regulations.
I do understand there are some gaps to testing solely in test mode though
What do you mean, create test charges in live mode? Would this be like using 424242424242 in live mode?
So how do I know whether prod is working?
No I mean using your own real card in live mode to run tests
What and then just refunding the purchase?
We can't recommend you do that as we note here: https://stripe.com/docs/testing#use-test-cards
Correct
So the only thing we can recommend is that you test in test mode and then ensure your live mode is set up the same way