#Ravisankar-checkout

1 messages · Page 1 of 1 (latest)

blissful current
marble void
#

Hi Jack

blissful current
#

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.

marble void
#

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.

blissful current
#

How did you create the checkout sessions that are represented in these two screenshots?

marble void
marble void
marble void
blissful current
#

Just want to be clear on your ask, is it about Payment Link or Checkout API?

marble void
#

This is check out API url

#

For mobile, we can use the webview and redirect Checkout response URL.

blissful current
#

OK, so when user cancel (aka click on the back button), do you create a new checkout session with the same params?

marble void
#

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 )

blissful current
#

I'm afraid that I have difficult understanding the problem. Let me rephrase your description and let me know if it's correct

  1. The user visits the checkout page for subscription (the page shows the cloud logo) -> expected
  2. The user cancels the subscription
  3. The user visits the same checkout page for subscription, but the page shows the two-people instead of the cloud logo? -> unexpected
marble void
#

Yes correct . Jack

blissful current
#

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

marble void
#

acct_1J3J4BSIXaMpn8ea

blissful current
#

Thanks. I saw different price IDs were used for checkout session creations

  • price_1KPPLSSIXaMpn8eaXnud9n02
  • price_1KPRYrSIXaMpn8eaQ2y5k5aX

Could this be the reason?

marble void
#

For same product?

blissful current
#

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

granite yarrow
#

Hi! I'm taking over Jack Tan. Please give me a few minutes to catchup on this thread.

marble void
#

Thanks Soma

granite yarrow
#

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.

marble void
#

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

marble void
granite yarrow
#

Got it, git me a few minutes to look into this (sorry support is quite busy right now)

marble void
#

Thanks soma

granite yarrow
#

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.

marble void
#

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

granite yarrow
#

I'm having a closer look...

marble void
# marble void

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

granite yarrow
#

Sorry for the delay, I'm still looking into this.

marble void
#

Thanks Soma.

granite yarrow
#

When I look at the Checkout ID you shared cs_test_a1EnKAqpN7afzGuQS6ltazQpWaI7EZOcCcL9O0WvySO3KNrbtriNmt7vRi
I see the correct images

marble void
#

like business (monthly ) to business (year)

granite yarrow
#

Can you clarify your question?

marble void
#

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.

white marten
#

cool, so that should just work then, what's blocking you? did you try something and it didn't work?

marble void
#

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

white marten
#

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.

marble void
#

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.

white marten
#

there's no option today to change the ordering or hide the logo no.

marble void
#

Ok @white marten

#

Can you able to raise any tickets for this?

white marten
#

ok!

marble void
#

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