#__rob1986__

1 messages · Page 1 of 1 (latest)

potent sageBOT
rocky pier
#

Hello, do you have the ID of a customer that is seeing this?

#

Just tested myself for another user that is seeing this and I was able to see all active and past due subscriptions. Still trying to figure out what is causing this

lavish needle
#

i do yes, that is what i pass as part of the portal session

#

this is all i pass as part of my session create:

$stripe = new \Stripe\StripeClient('sk_test_12345); $stripe->billingPortal->sessions->create([ 'customer' => 'cus_123ABC' ]);

#

do i need to pass more parameters?

rocky pier
#

It should just be those parameters as far as I know

#

Do you have a test account that you can create a portal link with and DM me that link?

potent sageBOT
fathom monolith
#

👋 stepping in here

#

Can you provide the actual Customer ID so I can take a look?

lavish needle
#

cus_O2TIWPcdNDULbq

fathom monolith
#

Thanks

#

So that Customer only has a single Subscription associated with it.

#

Looks like you have multiple different Customer objects with that same email though

#

Are you using Payment Links?

lavish needle
#

yes, i am trying to implement the buy buttons, then allow users to view details from the portal links

fathom monolith
#

Ah okay yeah so that is the issue -- this doesn't de-duplicate customers currently.

#

We are working on supporting this in the future, but for now you will run into an issue if you have a customer Subscribe multiple times using the same email.

lavish needle
#

how did pompey manage that in the screenshot above?

fathom monolith
#

So if you create Checkout Sessions directly yourself then you can pass a Customer ID to the Checkout Session so that the new Subscription is created for the same Customer ID.

#

But with Buy Button and Payment Links there is no way to do this currently

#

We are aware that this is a pain point with these flows and are working on handling de-duplication in the future, but it isn't quite ready yet.

lavish needle
#

so even though a user can have multiple subscriptions created from payment links, there is no way to have them all manageable from within a portal session?

fathom monolith
#

Correct, that's not possible right now from Payment Links. The customer will always see their most recent Subscription in Customer Portal if they use the same email multiple times.

lavish needle
#

i know you probably dont know, but is there an ETA on allowing multiple subs in the portal page?

fathom monolith
#

We do allow multiple subs in the Customer Portal already. The issue here is that you have one Sub per Customer ID. They need to be aggregated. I don't have a timeline for when we will handle this aggregation from our end for Payment Links but we are working on that.

lavish needle
#

how do i , from a payment link, force the sub to be created against an existing customer id? is it that it creates a new customer id for every sub?

fathom monolith
#

You can't

#

That is what I'm saying... we don't support that ability yet.

#

We are working on a solution... either allowing you to pass a Customer ID (unlikely as that isn't really what Payment Links are designed for) or aggregating Customers with the same email and showing all of their Subsriptions when you load Customer Portal.

#

Basically there will be a solution in the future but it just isn't possible right now.

lavish needle
#

ok, i see

#

thanks for the clarification