#Vinny GG
1 messages · Page 1 of 1 (latest)
When creating a new subscription I am passing a date in the backdate_start_date field
"customer" => "cus_MrO7tuYBTzdMrr"
"currency" => "usd"
"items" => array:1 [
0 => array:1 [
0 => array:1 [
"price" => "price_1MC3irIM6n1UMdapjPUSAUeQ"
]
]
]
"metadata" => []
"backdate_start_date" => 1671129589
"cancel_at_period_end" => false
"collection_method" => "charge_automatically"
"default_tax_rates" => []
]```
The date is in the past
20 minutes have passed
Hello! Can you give me the request ID showing that error? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Not sure. How are you computing the timestamp in your code? Are you hard-coding it or does it come from some kind of function or calculation?
Can you try sending it as a string and see if that makes a difference?
like this ? 12/15/2022, 3:39:49 PM
No, wrap the number 1671129589 in quotes: "1671129589"