You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have followed the instructions in the readme here and I consistently get the following error:
{"errorMessage":"A required parameter was invalid or missing.","message":"A required parameter was invalid or missing."}
My code is as follows:
constpaymentIntentResponse: {response: HttpResponse;status: string}=awaitcreateTtpPaymentIntent({invoiceId: invoiceStore.invoice.id,amount: selectedPaymentAmount.value,tipAmount: selectedTipAmount.value,});// paymentIntent is in this format `pi_***_secret_***`const{client_secret: paymentIntent}=(paymentIntentResponse.responseasHttpResponse).data;// Show the Stripe Tap-To-Pay screenconstpaymentMethodRes=awaitStripeTerminal.collectPaymentMethod(paymentIntent);// Error returned: {"errorMessage":"A required parameter was invalid or missing.","message":"A required parameter was invalid or missing."}
I have tried passing in pi_*** as well as pi_***_secret_*** and both give the same error: "A required parameter was invalid or missing."
What am I missing here?
Thank you in advance.
Additional context:
I have tried using v6.4.1 and v6.2.1, both are producing the same error on iOS and Android.
Expected behavior
The tap to pay screen appears allowing you to take payment.
Using Function:
Payment Sheet / Payment Flow
Apple Pay
Google Pay
Identity (@capacitor-community/stripe-identity)
Terminal(@capacitor-community/stripe-terminal)
The text was updated successfully, but these errors were encountered:
Platform
Describe the bug
I have followed the instructions in the readme here and I consistently get the following error:
My code is as follows:
I have tried passing in
pi_***
as well aspi_***_secret_***
and both give the same error: "A required parameter was invalid or missing."What am I missing here?
Thank you in advance.
Additional context:
I have tried using v6.4.1 and v6.2.1, both are producing the same error on iOS and Android.
Expected behavior
The tap to pay screen appears allowing you to take payment.
Using Function:
The text was updated successfully, but these errors were encountered: