#phonicuk - Coupon

1 messages ยท Page 1 of 1 (latest)

lusty heart
tranquil wasp
#

promo_1KorQpHd51xGsopZ4zkCo1jI

#

evt_1KorQpHd51xGsopZ3CrckOnc for the creation event - if that's what you're after?

#

aaah this is what you're asking for: req_lbYguolxnRlTDT

lusty heart
#

Bingo!

#

Okay and this coupon shows up as expired in your dashboard?

tranquil wasp
#

It shows up as expired when I try to add during checkout

#

in my dashboard it shows as completely valid and doesn't expire for several hours

lusty heart
#

Hmmm... that coupon was created with an expires_at timestamp of today

tranquil wasp
#

aye due to expire at 11:59 PM today, so a little shy of 7 hours from now

lusty heart
#

Yeah sorry, I'm stuck looking at the actual timestamp numbers on my end ๐Ÿ˜…

tranquil wasp
#

I'm just impressed you know a 'today' from a unix timestamp!

lusty heart
#

Okay still looking

tranquil wasp
#

๐Ÿ‘

lusty heart
#

And I just use a Python function ๐Ÿ˜… (datetime.datetime.fromtimestap())

#

I see this coupon is restricted to first_time_transaction. I'm not exactly sure how that rule is applied during Checkout

#

Is it possible the interface is considering you a repeat customer?

tranquil wasp
#

I'd be impressed if it can do that from an incognito window

lusty heart
#

True

tranquil wasp
#

I'll try one that is set not to be limited to the first-time order just to see what happens though, but otherwise the same settings and an expiration date that's tomorrow instead of today

#

okay that worked

lusty heart
#

๐Ÿค”

tranquil wasp
#

so now I'll make one that's expiration date of tomorrow but limited to first-time customers...

lusty heart
#

I appreciate the rigorous methodology

tranquil wasp
#

that doesn't work

#

so setting it to first-time customers is the limiting factor

#

Interesting that it specifically says the code is expired rather than "You've already used this" or words to that effect.

#

req_lbYguolxnRlTDT - Doesn't work. First time customers, exp date today.
req_cNEvQ3WzCNhcIe - Works. All customers, exp date tomorrow.
req_hj9duL1gpG6RKl - Doesn't work. First time customers, exp date tomorrow.

lusty heart
#

๐Ÿ˜†

#

I am taking note of these and will raise the issue. Just to be clear, what happens if your exp date is today but all customers?

tranquil wasp
#

Lets find out!

#

req_isnoT8kGK0Wa0T - Works. All customers, exp date today.

lusty heart
#

Copy that. I think we've narrowed down where the issue lies.

tranquil wasp
#

๐Ÿ‘

#

Big bugs need big rubber ducks.

lusty heart
#

That should be able to squash all the bugs right there