#amann5952
1 messages · Page 1 of 1 (latest)
Hi, is there a Doc you are following?
Could you provide the Doc, and the errored requests found from 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.
The doc for tap to pay are not available yet
The only issue we are having is, after the update, if we don’t pass all parameters in the collectoaymentmethod, it throws error
but if you ppass, it will say "This feature is currently not available for the selected reader", correct?
I mean, you may have following some resource to write those code. It would be appreciated if you could clarify them
This error is related to this issue here
https://github.com/stripe/stripe-terminal-react-native/issues/413
tikiwade commented on Nov 7, 2022
I was involving it like this:
const { paymentIntent, error } = await collectPaymentMethod({
paymentIntentId: stripePaymentIntent.id,
skipTipping: true,
tipEligibleAmount: false,
});
I removed the tipEligibleAmount and it seems to have worked.
Thank you
Because M2 readers don’t support tipping
Okie, can you share your request which removed the tipEligibleAmount parameter?
req_xx from 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.
let paymentCollect = await collectPaymentMethod({
paymentIntentId: paymentIntent.id
});
Error collecting payment: {"error": {"code": "InvalidRequiredParameter", "message": "A required parameter was invalid or missing."}}
What else you need?
do you need account id?
@sleek flame accountId: acct_1NMwO2Cf0QhAtby3
My colleague will continue to assist you shortly. But please provide the request id. It's on the format req_xxx which you can find from 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.
We need the request id which errored with A required parameter was invalid or missing
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
payment_intent: pi_3NxCOuCnTu8C4df51CtlQZSd```
@radiant rain
That looks like a request that succeeded, but you mentioned your request was erroring out. Is that error not reaching Stripe?
Also, are you using Typescript at all?
no javascript
got it. So you don't see in your logs anywhere that the request is failing? It's failing before the request is ever sent?
yes
If you remove all references to tipping, does it still error?
Also, you mentioned that this is for Tap to Pay. Are you part of a beta that allows tipping? If so, are you passing a beta header somewhere?
If we remove all references it says that required parameter was not provided
We are part of beta
Not passing any header anywhere
I think that may be the problem. If you're using the beta version of the SDK on a reader that is not compatible with that beta, then that would make sense.