#Carlos Mascarenhas - create a coupon

1 messages · Page 1 of 1 (latest)

coral tartan
#

Hello, what error are you getting here?

glad thistle
#

req_fsWZZSVcy0abct

coral tartan
#

It looks like you are passing in an entire json object rather than just its ID. That endpoint is expecting an invoice ID, it will look like this: in_123456789

#

Also I notice that that is a get request. Can you tell me a bit more about what you are trying to do here?

glad thistle
#

I'm trying to create a discount coupon

coral tartan
#

That request looks very different than what I can see. Can you try doing this request one more time and send me the request ID for that?

glad thistle
#

req_uKXSZMnFxwaG4f

#

Coupons are being created, but there is an error in the request

coral tartan
#

Is this app making other API calls?

#

So it sounds like your app may be making a $stripe->invoices->retrieve call somewhere else which is where this error is coming from

glad thistle
#

kkkkkkkkk

#

yes

#

Thank you for your help