#falit94_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1219967464410976306
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! do you have a screenshot what you see? and the code you wrote to implement the 'checkout page'?
it's a public channel so redact anything you wouldn't want public
ok
SessionCreateParams params2 = new SessionCreateParams.Builder()
.setSuccessUrl("successurl")
.setCancelUrl("cancelurl")
.setMode(SessionCreateParams.Mode.SUBSCRIPTION)
.setCustomer(customer.getId())
.addLineItem(new SessionCreateParams.LineItem.Builder()
.setPrice(priceId)
.setAdjustableQuantity(SessionCreateParams.LineItem.AdjustableQuantity.builder().setMinimum(noOfTeams).setEnabled(true).build())
.setQuantity(noOfTeams)
.build()
)
.setTaxIdCollection(
SessionCreateParams.TaxIdCollection.builder()
.setEnabled(true)
.build())
.setCustomerUpdate(SessionCreateParams.CustomerUpdate.builder()
.setName(SessionCreateParams.CustomerUpdate.Name.AUTO)
.setAddress(SessionCreateParams.CustomerUpdate.Address.AUTO)
.build())
.setAllowPromotionCodes(true)
.build();
hard to say without a screenshot but probably what you see is an 'upsell', which you would have configured in the Dashboard for the PriceID in question https://docs.stripe.com/payments/checkout/upsells
yeah it's what I mentioned
ok it's fixed now.. it was due to upsell flag