#andrew_88881
1 messages · Page 1 of 1 (latest)
Hello! For this scenario you would not use the off_session parameter, as the customer is not off-session. Using setup_future_usage is the correct approach. You're likely trying to reuse the card_present Payment Method, which will not work. You need to use the generated_card Payment Method instead: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-generated_from-payment_method_details-card_present-generated_card
Relevant docs are here: https://stripe.com/docs/terminal/features/saving-cards/overview
OK, I'll try the top-level setup_future_usage=off_session
👍 rubeus had to head out, but if you have any questions while trying that out let me know and I can help
My test didn't work, using currency=AUD
payment_method_types[]=card_present
capture_method=automatic
amount=500
setup_future_usage=off_session
customer=cus_** resulted in the error "setup_future_usage cannot be used with one or more of the values you specified in payment_method_types. Please remove setup_future_usage or remove these types from payment_method_types: [card_present]."
Are you based in the US? Setting setup_future_usage with card_present payments is a feature that's only availeble for US accounts (https://stripe.com/docs/terminal/features/saving-cards/save-after-payment)
Ahh - that would do it. I did see that in the doco, but was told that it 'should work' in Aus after my account was enabled for terminal.
I think there are some extra internal configuration steps needed to get it to work with a non-US account
I'd recommend checking in with support again and asking specifically for the ability to save terminal cards - they'll be able to give you more details on whether it's possible/any additional requirements you may have to fulfill