#james_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1270251624379584543
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
$signRes = $stripe->terminal->readers->collectInputs(
$readerId,
[
'inputs' => [
[
'type' => 'signature',
'custom_text' => [
'title' => 'Signature',
'description' => 'Please sign for the payment authorization.',
'submit_button' => 'Submit',
'skip_button' => 'Skip',
],
'required' => true,
]]
]);
foudn error below
<b>Fatal error</b>: Uncaught Error: Call to undefined method Stripe\Service\Terminal\ReaderService::collectInputs() in
Have you included terminal_collect_inputs_beta header ?
how to do that please
Collect input is a beta feature, did you contact stripe-terminal-betas@stripe.com to get access to it?
Not yet
Then you should
so No payment signature we can take after payment?
is this only API we can use for afterpayment signature capture ?
Yes you need to use this feature to collect signature from your customer.
is this only way to capture the signature after payment ?
Yes
You mean the card processing fee?
correct
No you don't need to set it
I mean how to do that if we want to charge customer process fee
you calculate the fee into the original amount charged to the customer. We don't have a formula for this so you need to calculate that out on your own