#Ravisankar-checkout
1 messages · Page 1 of 1 (latest)
Hi Jack
Hi there, can you send me the checkout session ID? I'd like to know more about Pending invoice items (Unused Product type image and name ) are shown on the checkout page.
JAck. I have shared the images for better understanding
For the above screen, I need mainly show the cloud item logo
Below is the expected one.
How did you create the checkout sessions that are represented in these two screenshots?
This one is the initial stage. Without having any cancelling .
These ones for when canceled and tried to create the subscription
This is we can use the payment link in mobile view.
Just want to be clear on your ask, is it about Payment Link or Checkout API?
This is check out API url
For mobile, we can use the webview and redirect Checkout response URL.
OK, so when user cancel (aka click on the back button), do you create a new checkout session with the same params?
We have the option to cancel the subscription and then the customer should able to create new subscription
We have use the same user-control and just redirecting the link only
The only problem is the logo and name ( Its just shows the pending invoice item logo )
I'm afraid that I have difficult understanding the problem. Let me rephrase your description and let me know if it's correct
- The user visits the checkout page for subscription (the page shows the cloud logo) -> expected
- The user cancels the subscription
- The user visits the same checkout page for subscription, but the page shows the two-people instead of the cloud logo? -> unexpected
Yes correct . Jack
That's indeed very strange, can you share with me the code to create the checkout session?
also can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details
Thanks. I saw different price IDs were used for checkout session creations
- price_1KPPLSSIXaMpn8eaXnud9n02
- price_1KPRYrSIXaMpn8eaQ2y5k5aX
Could this be the reason?
For same product?
The are prices for different products
- price_1KPRYrSIXaMpn8eaQ2y5k5aX -> pr_1KPRYrSIXaMpn8ea50ZIMiJC -> the cloud logo
-price_1KPPLSSIXaMpn8eaXnud9n02 -> pr_1KPPLSSIXaMpn8eahsHYwU1k -> the person logo
So you might want to check the lineItems variable and make sure that price_1KPRYrSIXaMpn8eaQ2y5k5aX is passed instead of price_1KPPLSSIXaMpn8eaXnud9n02
Hi Jack
Actually we have craered one line item only
The stripe automatically add the pending invoice item ( For prorate adjustment) and sharted the link
Hi! I'm taking over Jack Tan. Please give me a few minutes to catchup on this thread.
Thanks Soma
The user you passed in your Checkout Session recently canceled their subscription. So a new invoice item was created for that customer with a negative amount (the unused time on the subscription). You can see it here: https://dashboard.stripe.com/test/events/evt_1KQT8ESIXaMpn8eaO6yUU0V6
And it seems this was automatically added to the Checkout Session.
Yes correct. That unused time correctly coming
The issue. We can showing the unused item logo in check out screen
But i am expecting the below one
I expect this one.
Got it, git me a few minutes to look into this (sorry support is quite busy right now)
Thanks soma
I see in your account a product with the red logo:
So you need to either change that logo for this product, or use a different price_id in your code.
Actually, step is,
User create a subscription for business (Item name )
and cancel that subscription
and move to the cloud. (Another one item).
So the unused item is in businnes logo
That only showing the checkout page
Here you can see the details items
Actually every product has two prices ( monthly or yearly)
User can cancel and change their plan
I'm having a closer look...
The problem is, why is the unused item logo is seeing in main
I need to show the cloud logo and 'subscribed to cloud ' name
Sorry for the delay, I'm still looking into this.
Thanks Soma.
When I look at the Checkout ID you shared cs_test_a1EnKAqpN7afzGuQS6ltazQpWaI7EZOcCcL9O0WvySO3KNrbtriNmt7vRi
I see the correct images
Please ignore the link. I can use the same product for this
like business (monthly ) to business (year)
Can you clarify your question?
Sorry, The question is
I have created subscription using business
and then cancel that
Then create a new suscription using cloud
now, In the check out page the business logo image is there ( Actually this is unused time item logo).
But i want to showcase the cloud logo.
cool, so that should just work then, what's blocking you? did you try something and it didn't work?
Yes. Its working @white marten
The customer is misunderstanding the checkout page because of the image
The image is from the cancelled one. (Internally it added in unused line item)
So the end customer confusing about this
I see
now that you understand it you can explain it to them!
or if you don't want this at all then you should disable proration when cancelling the other subscription so there's no "unused time" item to be used.
Is any other option is set that main logo?
I think the first item logo is taken, any option to ordering them or hide the logo or item in the checkout page when unused time found.
yeah seems like it is the first item, you're right!
there's no option today to change the ordering or hide the logo no.
ok!
Thanks @white marten
Please share the ticket details once you raised. It will help our internal integration team to track this further
Anyway. Thanks for your team for the complete help
that's not a thing I can do