#commento

1 messages · Page 1 of 1 (latest)

lofty breachBOT
midnight zephyr
#

What's the issue exactly? Can you describe what's happening?

candid lantern
#

the invoice items is created but not attached to the invoice

midnight zephyr
#

Ok. Can you share an invoice item id and invoice id where this is happening then?

candid lantern
#

invoice item: ii_1NTQMyBQ9x1ydwKFFHh2XJVF
invoice: in_1NTQMzBQ9x1ydwKF36oNcGQF

#

sorry I put the wrong id, the edited one is correct now

#

I already put the:
pending_invoice_items_behavior='include',
when calling the stripe.Invoice.create() that is perfromed after the invoice items add

midnight zephyr
#

Ok looking

#

Oh you didn't pass pending_invoice_items_behavior correctly

#

You put it in the metadata

candid lantern
#

no I put it also in the correct place after

#

sorry first I did that error but the following call is correct

#

here:in_1NTQP7BQ9x1ydwKFZPL4qB7I

#

invoice item: ii_1NTQP6BQ9x1ydwKFVZhBBkdL

midnight zephyr
#

To gbp

#

Since the customer's default currency isn't gbp

#

But the invoice item is in gbp

candid lantern
#

ok so that's the issue got it

midnight zephyr
#

I think so. Recommend you try it

candid lantern
#

the error is in the invoice item currency

#

it shouldn't be gbp

#

thanks