question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plans on live + test mode with the same stripe IDs

See original GitHub issue

Plan.stripe_id is inherited from StripeObject which makes it unique. Plan stripe IDs don’t work quite the same way as other stripe objects though because their IDs are user-input and users are likely to use the same ID on live and test. If this is not supported, it needs to be documented, but I personally think we should move to a unique_together w/ stripe_id + livemode for Plan.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jleclanchecommented, Jun 8, 2020

I’m gonna go ahead and close this as a wontfix. Given that plans are able to have unique IDs now it seems like stripe is “deprecating” having these non-unique IDs.

1reaction
jleclanchecommented, Mar 20, 2017

PS: I think the same situation is true for coupons, once we get support for those.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create Stripe Plans on Test and Live Modes - Depositfix
To copy the same plan in Live Mode. 1. Under pricing plans > Open the plan you want to copy. 2. Copy the...
Read more >
Testing Stripe Connect | Stripe Documentation
Use testing to make sure your Connect integration handles different flows correctly. Use test mode to simulate live mode while taking advantage of ......
Read more >
Testing | Stripe Documentation
Each Stripe account includes a test and live mode. Test mode includes a separate set of ... Create trial subscriptions and handle trial...
Read more >
Testing | Stripe Documentation
Simulate payments to test your integration. ... Testing in live mode using real payment method details is prohibited by the Stripe Services Agreement....
Read more >
Testing Stripe Billing | Stripe Documentation
Go-live principles · Test clocks · Test subscription trial periods · Test subscription webhook notifications · Test payment failures · Test payments that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found