#TheKents

1 messages · Page 1 of 1 (latest)

vestal lodgeBOT
ruby sparrow
#

Can you be more specific?

#

What are you using to accept payments? Checkout? Subscriptions? We need wayyyyy more details in order to answer that question

pale moss
#

I created a coupon and it has a promotional code "KIITOS15", however when I use await stripe.promotionCodes.list({ code: codeParam, });
it doesn't redeem it, so how can I call to redeem it

#

I am using PaymentIntents

ruby sparrow
pale moss
#

Im using my own custom payment flow so I can't use checkout

#

Or atleast thats what support and docs say

ruby sparrow
#

If you don't use Checkout or Subscriptions, you can't use promo codes unfortunately. Checkout is highly configurable though, so I would be surprised if it didn't fit you'r use-case.

pale moss
#

I need to add Finnish Posti Integration there, it is available on shopify etc. with checkout, but not unfortunately on custom flow

#

ofc i wanted to use Checkout since it would make everything so much easier but i asked support twice about it and they said i would need to use PaymentIntents instead

ruby sparrow
#

When you say "support", are you referring to Stripe support? Or Shopify support?

pale moss
#

Stripe

#

Im not looking to use any ecommerence platforms since im developing the webstore myself

ruby sparrow
#

Ah, okay. That's odd. Did they say why you couldn't use Checkout?

#

As far as I can tell (unless you want to do something specific that you haven't mentioned to me yet) Checkout should work just fine for you.

pale moss
pale moss
ruby sparrow
pale moss
#

And to make PaymentIntent, and that CheckoutSessions are for pre-built flow only

pale moss
#

because in the link you sent me there is this again

#

here is Checkout Session mentioned again

ruby sparrow
#

You have to use a Checkout Session in order to use Checkout. I don't understand your question

pale moss
#

But I can't use Posti Integration in Checkout

#

There isn't so that much customability

vestal lodgeBOT
pale moss
#

and one other chat was in the stripe support chat in web, not in discord

#

"Also, there's no issue with using Checkout but Checkout sessions cannot be used with Stripe.js."

half valve
#

You cannot use Elements and Stripe.js with Checkout Session currently, no. Using Checkout involved redirecting your customer to Stripe-hosted Checkout UI with the url returned on the session.

pale moss
half valve
#

you cannot add other applications integration/API into Checkout
What do you mean by this? What are you trying to do?

#

Checkout Session is a prebuilt and hosted page by Stripe, which has all the elements needed for payment flow, so there is no need for Elements or Stripe.js
That's correct -- you redirect to a pre-built hosted flow so that you do not need to build it yourself

pale moss
half valve
#

But that is typically used for shipping costs / speeds, not locations

pale moss
half valve
#

I'm not familiar with Posti, but if you can get those locations ahead of time you may be able to present them (and the associated rates) using the functionality above. You won't be able to add a custom "Posti" or any other integration embedded in Checkout though, no.

pale moss
half valve
#

Well you can collect the code yourself and apply it to your payment amount, so that's possible

#

But you must calculate the discount and amount for the payment intent

pale moss
half valve
#

I will say this is feedback we've heard, and I can share your interest in this as well as we explore options

half valve
pale moss
half valve
#

I have done that 🙂