#lexumi_api
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/1398280960776343683
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- lexumi_webhooks, 1 day ago, 58 messages
- lexumi_best-practices, 2 days ago, 7 messages
this.stripe.checkout.sessions.create(
{
payment_method_types: ['card'],
mode: 'payment',
billing_address_collection: 'required',
allow_promotion_codes: true,
line_items: [
{
price_data: {
currency: 'eur',
product_data: {
name: 'Plant',
},
unit_amount: amount,
},
quantity: 1,
},
],
shipping_options: [
{
shipping_rate_data: {
display_name: 'Standard',
fixed_amount: { amount: 496, currency: 'EUR' },
delivery_estimate: {
maximum: { unit: 'business_day', value: 4 },
minimum: { unit: 'business_day', value: 1 },
},
type: 'fixed_amount',
},
},
],
payment_intent_data: {
application_fee_amount: applicationFee,
metadata: metadata,
shipping: {
carrier: 'DHL',
address: {
line1: 'Muserstraße',
line2: '32',
city: 'Dresden',
postal_code: '01159',
country: 'DE',
},
name: 'Max Mustermann',
},
},
metadata: metadata,
success_url:
process.env.STRIPE_SUCCESS_URL ||
'http://localhost:3000/success?session_id={CHECKOUT_SESSION_ID}',
cancel_url:
process.env.STRIPE_CANCEL_URL || 'http://localhost:3000/cancel',
},
{
stripeAccount: sellerStripeId,
},
);
current checkout session code
But does not display the shipping address that was passed. Would be cool if it was possible to show it as readonly
👋 happy to help
Hey :)
this is a neat feature request, you can either address it yourself to https://support.stripe.com/?contact=true or you could give me your account ID and I could submit the feedback on your behalf
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Im guessing this should be my account ID:acct_1RnSrzREBNp8oV8P
So currently not possible?
no unfortunately it's not
unless you choose to use Embedded Checkout and you can then add that information yourself
hmm have to take a look,
Also: if a shipping address is passed in the payment intent you have to manually set the billing address. With that feature request it should just show the checkbox again for "Billing info is same as shipping"
Also another feature idea would be to give the option for disabeling custom fields. If that would have been a thing i could have used that to show the address..
I really think it's better if you contact https://support.stripe.com/?contact=true and write an email to describe all of the cool features that you would love to see in Checkout. We love to directly hear from our users
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
yes that's not a bad idea
:)