#boskiv
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- boskiv, 21 hours ago, 23 messages
const checkoutSession = {
allow_promotion_codes: true,
line_items: [selectedPrice],
subscription_data: {
trial_period_days: 7,
trial_settings: {
end_behavior: {
missing_payment_method: 'cancel',
},
},
},
payment_method_collection: 'if_required',
success_url: window.location.origin,
cancel_url: window.location.origin,
metadata: {
key: 'value',
},
};
Can you say more? Or share an example? How are you trying to create this session?
Can you share a request ID?
sessionID ?
cs_test_b1OEbBe07KSD9fXnQ1DC5qCzd69FmXJr8gseVJrI92W06hqGD4on1A3WRM
I'm using https://github.com/invertase/stripe-firebase-extensions/tree/master/firestore-stripe-payments
cs_test_b1xIG6yZwWoNXYUJOJdLdrtvK9Tf8q5oaGhN2BkOBqzaEopEUPzD0bxSTu
check that one
req_6Mwp04sgdUk0er
In your snippet here you shared different trial parameters than this request used:
trial_period_days: 7,
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So you code might not be doing what you expect
You might need to reach out to the maintainers of the firebase plugin to get guidance on how to get the behaviour you want
if you control the session create request, you should use the parameters you shared
ok, looks like stripe/firestore-stripe-payments@0.3.4 does not maintain anymore, i will try to upgrate to invertase/firestore-stripe-payments@0.3.6