#boskiv

1 messages · Page 1 of 1 (latest)

muted thistleBOT
#

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
pearl lodge
#
 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',
      },
    };
dry niche
#

Can you say more? Or share an example? How are you trying to create this session?

pearl lodge
dry niche
#

Can you share a request ID?

pearl lodge
#

sessionID ?

#

cs_test_b1OEbBe07KSD9fXnQ1DC5qCzd69FmXJr8gseVJrI92W06hqGD4on1A3WRM

#

cs_test_b1xIG6yZwWoNXYUJOJdLdrtvK9Tf8q5oaGhN2BkOBqzaEopEUPzD0bxSTu

#

check that one

#

req_6Mwp04sgdUk0er

dry niche
#

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

pearl lodge
#

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