#EagerSnail
1 messages · Page 1 of 1 (latest)
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.'
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
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.
You can use invoices, sure, but not manual capture
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?
You'd need to use payment intents directly, then, not via invoices
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?
You can use meta data, but otherwise I'd suggest tracking the details in your systems directly
Alright man. Thanks for that clarity. You have a great day.
You too 👍
oh one last thing can we apply a a promocode direclty to a payment intent?
No unfortunately not yet support - you'd need to interpret this and adjust the amount yourself
Thanks