#shane
1 messages · Page 1 of 1 (latest)
If you want to disable the coupon when switching to annual, you should be able to do so by sending an empty string eg coupon: ''
I know that but I need to see if they have a coupon that I want to disable. There is no way I'm seeing to tell what coupon they will get
Can you share the details of the upcoming invoice request and response you get?
customer: 'cus_O2uWmsnXi8pyrs',
subscription: 'sub_1NGohUFGTemLEdoKsLhSy5qn',
subscription_items: [
{
id: 'si_O2uWQhLydPk2O4',
price: 'price_1MwX99FGTemLEdoKiffDdSTO',
quantity: 1
}
],
subscription_proration_date: 1686253659,
subscription_proration_behavior: 'always_invoice',
expand: [ 'discounts' ]
}
This is what I'm sending
This is the first part of what I'm getting { object: 'invoice', account_country: 'US', account_name: 'Jasper', account_tax_ids: null, amount_due: 43860, amount_paid: 0, amount_remaining: 43860, amount_shipping: 0, application: null, application_fee_amount: null, attempt_count: 0, attempted: false, automatic_tax: { enabled: false, status: null }, billing_reason: 'upcoming', charge: null, collection_method: 'charge_automatically', created: 1686253862, currency: 'usd', custom_fields: null, customer: 'cus_O2uWmsnXi8pyrs', customer_address: { city: '', country: 'US', line1: '', line2: '', postal_code: '11111', state: '' }, customer_email: 'shane.tidwell+blue@jasper.ai', customer_name: "blue's Workspace", customer_phone: null, customer_shipping: null, customer_tax_exempt: 'none', customer_tax_ids: [], default_payment_method: null, default_source: null, default_tax_rates: [], description: null, discount: null, discounts: [],
Thank you for the details. Looking in to this and I will get back to you with what I can find.
Hey, apologies for the delay. For that customer specifically I do see a 40% off coupon being applied on one of the update calls on that subscription. https://dashboard.stripe.com/test/logs/req_9kRyxpfQAhWcPk
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Was that just a different test on the same Customer? Or could that be what gave them the 40% when you looked?
And do you have any other IDs for customers that saw this?