beam-community/stripity-stripe

Odd url generation for BillingPortal.Session

Closed this issue · 5 comments

When I run BillingPortal.Session.create() with a valid customer id I get this response:

{:ok,
 %Stripe.BillingPortal.Session{
   id: "bps_LRfLWnhwoo0qWe2",
   object: "billing_portal.session",
   created: 1234567890,
   configuration: "bpc_1NqObSC1BwKa0d6BSW2oRuf3",
   customer: "cus_OjKdxedFuPdKeQ",
   livemode: true,
   return_url: "//localhost:4000/paymentgood",
   url: "https://richardm-customer_portal-mydev.dev.stripe.me/session/{SESSION_SECRET}"
 }}
yordis commented

Hey there, what is the SDK version?

Hey, I'm using 2.17.3

Ah, sorry, you meant Stripe SDK. In that case my dashboard says its using 2023-08-16

This issue has been automatically marked as "stale:discard". If this issue still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment.

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!