#gyungi
1 messages · Page 1 of 1 (latest)
hello! can you share the request id for where you're simulating presenting a payment method? it'd look like req_xxx [0]
I can't find the request id anywhere, where would that live?
i'm in the stripe dashboard looking through payment history
you should be able to find it in https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
that's to capture the payment, we want the one for where you're simulating presenting a payment method.
it should be this one : https://dashboard.stripe.com/test/logs/req_ph2UK4LAof0ld1
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
you're not passing in any card numbers so it would default to the successful card number
gotcha ok
so then I suppose my question becomes how to pass the metadata correctly
this is currently how I'm doing it:
-u <OUR KEY>: --data '{"card_present":{"number":"4000000000009995"}}' ```
I work with @hollow ibex and I think we're just missing the Content-Type header in our request 🤦♂️
oh nice
this works for me
curl -X POST https://api.stripe.com/v1/test_helpers/terminal/readers/tmr_.../present_payment_method \
-u sk_test_...:\
-d card_present[number]=4000000000009995 \
-d type=card_present