#CrisBadilla
1 messages · Page 1 of 1 (latest)
Hello, do you have an example of a request ID from a call you made this way? (req_123)
{
"payment_behavior": "error_if_incomplete",
"proration_date": "1663788066",
"metadata": {
"oneTimeFee": "0",
"bundle": "aaaaa",
"testMode": "false",
"upgrade": "true",
"emid": "aaaaa",
"subscriptionName": "aaaaa,
"claimId": "aaaaaa",
"yextTestMode": "false",
"state": "WA",
"xxxxSubscriptionId": "aaaaa,
"revenueSource": "upgrade",
"plans_0": "planId:150761|subscriptionAmount:100000"
},
"proration_behavior": "create_prorations",
"items": [
{
"quantity": "1",
"plan": "11111",
"id": "si_MTVT5BssfFBmPO",
"deleted": "true"
},
{
"quantity": "1",
"plan": "11111"
}
]
}
The request Id is: req_hDHwgk1NGFF7KX
Can you try that call again but use a proration_behavior of always_invoice? I think this didn't error because create_prorations doesn't always invoice immediately https://stripe.com/docs/api/subscriptions/update?lang=java#update_subscription-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.