#andrewandyandy
1 messages · Page 1 of 1 (latest)
stripe.customers.updateSubscription(data.company.sid, data.ssid, sub, function(err, subscription){
stripe.invoices.create({ customer: data.company.sid }, function(e, invoice) {
if(e) console.error('[STRIPE] -', JSON.stringify(e));
return callback(err, subscription);
});
});
Hello!
Question is how am I able to pass in the plan when it's not mentioned in the doc?
You're using an older, deprecated (but still functional) parameter in the API.
Also how would i pass in the tax amount or the tax rate. I woul get tax rate/amount from anothe provider (avalara)
You would need to get support from Avalara for that, we can't help with third-party integrations here.
Mhmm I already have the tax rate/ amount
@native bobcat thank you for your prompt response
You could maybe add a line item for it?
Mhmm I’ll give that a try. Thank you @native bobcat