#rip-checkout-ordering

1 messages · Page 1 of 1 (latest)

grave driftBOT
heady sinew
#

👋 my bad on the delay, been running around a bit. Note I deleted your other message so that we keep all questions in one thread

#

rip-checkout-ordering

#

@high nymph you don't have control over the order today on Checkout, we control this

high nymph
#

Okay sounds good

#

do I need to re-ask my second question?

heady sinew
#

yes

high nymph
#

The second question was I am creating a coupon on stripe and i am generating promo codes from that coupon. If i want to generate a promo code based of coupon A that is usable only 1 time on 1 checkout session, how do I configure that

#

right now this is how I do it

#
stripe_promo = stripe.PromotionCode.create(
            coupon=coupon_code,
            customer=customer,
            max_redemptions=1,
            restrictions={
                "minimum_amount": minimum_amount,
                "minimum_amount_currency": "USD",
            },
        )
heady sinew
#

that seems like it's the right way

high nymph
#

okay great thanks

heady sinew
#

sure thing!