#EagerSnail

1 messages · Page 1 of 1 (latest)

subtle saddleBOT
bleak dagger
#

for context im getting this error:
'Some of the parameters you provided (capture_method) cannot be used when modifying a PaymentIntent that was created by an invoice. You can try again without those parameters.'

rugged gale
#

That's right, that is not supported for invoice payments

#

What are you trying to do?

#

You can defer payment on the invoice until a time of your choosing, but you cannot use auth & capture

bleak dagger
#

we want to keep track of line items and discounts and amounts, tax etc so we can sync with quickbooks for our accounting team. but the metadata field on the payment intent doesnt sync. we were trying to use invoices but it seems we cant due to this rule.

rugged gale
#

You can use invoices, sure, but not manual capture

bleak dagger
#

right but our platform requires manual capture.
our service is something to be schedule and we do the auth then. when the service is completed we capture the payment. Since its possible for it to get cancelled or not completed.

is there an alternative you can suggest to do with manual capture?

rugged gale
#

You'd need to use payment intents directly, then, not via invoices

bleak dagger
#

is there fields on the payment intent that we could utilize for this. i see an "amount_details" section. could i use that for the context of the payment?

rugged gale
#

You can use meta data, but otherwise I'd suggest tracking the details in your systems directly

bleak dagger
#

Alright man. Thanks for that clarity. You have a great day.

rugged gale
#

You too 👍

bleak dagger
#

oh one last thing can we apply a a promocode direclty to a payment intent?

rugged gale
#

No unfortunately not yet support - you'd need to interpret this and adjust the amount yourself

bleak dagger
#

Thanks