Comments (3)
I've solved the problem.
I did not have the switch to enable 3D Secure turned on in the dashboard settings menu.
I was able to get the dialog and continue the process successfully.
Thank you for your response.
from subscription-use-cases.
Hello @takeharu,
Have you configured the .env file with the products? This error will happen when there are no prices configured in Stripe.
- Create Products and Plans on Stripe
This sample requires a Price ID to create the subscription. Products and Plans are objects on Stripe that you use to model a subscription.
You can create Products and Prices in the Dashboard or with the API. Create a Price to run this sample and add it to your .env.
from subscription-use-cases.
Hello @ctrudeau-stripe,
Thanks for the reply.
But it seems to be a different problem.
I created a new product and set the environment variable PriceID (BASIC
and PREMIUM
) in the .env file.
But I get the same error.
If it were the problem you're talking about, 4242424242424242
should also cause an error, but it doesn't.
If I run it in node.js, I get the following error (I get the same message in ruby)
(node:88544) UnhandledPromiseRejectionWarning: \n
Error: Payment for this subscription requires additional user action before \n
it can be completed successfully. \n
Please refer to the use of the `enable_incomplete_payments` parameter \n
here: https://stripe.com/docs/billing/lifecycle#incomplete-opt-in
at Function.generate (/fixed-price-subscriptions/server/node/node_modules/stripe/lib/Error.js:50:16)
at IncomingMessage.<anonymous> (/fixed-price-subscriptions/server/node/node_modules/stripe/lib/StripeResource.js:168:39)
at Object.onceWrapper (events.js:288:20)
at IncomingMessage.emit (events.js:205:15)
at endReadableNT (_stream_readable.js:1154:12)
at processTicksAndRejections (internal/process/task_queues.js:74:11)
The response has a Status Code of 402 Payment Required
I don't know what enable_incomplete_payments
means.
from subscription-use-cases.
Related Issues (20)
- README is not correct HOT 5
- Migrate to default_incomplete
- Add steps for creating Prices with `lookup_keys` HOT 7
- Change to Intraday schema HOT 2
- can't get to prices.html HOT 1
- Fixed price / React / Ruby sample quite broken. HOT 5
- Changing subscription does not work
- live-mode API keys not work in kubernetes cluster HOT 1
- Clients don't work HOT 7
- clientSecret should not be passed as a queryPararm? HOT 2
- Php solution doesn't work HOT 2
- Inconsistent SDK usage. HOT 2
- Google Pay OR Apple Pay button is not showing. HOT 1
- Conversion Issue: Error CS0019 Operator '==' cannot be applied to operands of type 'long' and 'DateTime'
- Subscription creation request fails with customer credit balance (or 100% coupon) HOT 1
- [feature request] Add name field to registration page
- [feature request] Enrich customer creation samples HOT 1
- [feature request] update sample app to use `payment-element`
- Stripe CLI setup Fixed Priced Subs with Node + React not working HOT 7
- HTTP Error 500.0 - ASP.NET Core IIS hosting failure (in-process)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subscription-use-cases.