#arya_

1 messages · Page 1 of 1 (latest)

faint prismBOT
uneven crane
#

Hello! You could keep the list of valid promotion codes on your end and throw your own error earlier if an invalid one is used.

dim horizon
#

Oh okay, so a manual checking needs to be done on my end? Can stripe not just ignore an invalid promotion_code

uneven crane
#

No, if you explicitly supply an invalid Promotion Code via the API we're going to return an error letting you know you provided an invalid value.

#

The expectation is that you set the value with the assumption that it will work. If it's not going to work we return an error because it doesn't match the assumption.

dim horizon
#

Sounds good, thanks!