#Bandi Odelu
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_jITwXkNi2UMS69
That request, is for creating the PaymentIntent (pi_3MYRSyK8SGfgbRnh0mBnXDZT)
and I can see any confirm attempt on that PaymentIntent
But according to the error messages:
- you are trying to confirm a PaymentIntent without setting a PaymentMethod
- You are using a "Card" PaymentMehtod while trying to confirm a PaymentIntent that should be accepting on of the following types:
card_present, interac_present
Could you provide more context about your integration ?
Actually, i am creating a performance test plan in JMeter for a device,
and i added all required API endpoints in the flow but after created payment method using https://api.stripe.com/v1/payment_methods endpoint then passing the payment method id to the next api https://api.stripe.com/v1/payment_intents/pi_1EUmy5285d61s2cIUDDd7XEQ/confirm
then only getting this below message
"message": "The PaymentMethod provided (card) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card_present, interac_present. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "card".",
used the types : card_present, interac_present instead of "Card"
but
getting this below message
message": "You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.",
What is it you're actually trying to do here? Are these Terminal (in-person) payments, or online?
I think you've mixing up your Payment Intents. Seems you're trying to attach a type: 'card' PM (i.e. an online card) to a card-present PI: https://dashboard.stripe.com/test/logs/req_NH53RHKXNH5xFl
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 need to collect the payment details via the Terminal reader for card-present payments like that
For example, the pm_xxx you're trying to use to confirm that card_present PI (https://dashboard.stripe.com/test/logs/req_NnZJz4jExtS4Eh) is type: 'card' – that won't work for Terminal payments, only online/web payments
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
using type: "card_present"
getting this below message
"message": "The provided card data does not correspond to the passed type, card_present.",
"message": "The provided card data does not correspond to the passed type, interac_present.",
Can you share req_xxx IDs
req_A8m3x3VkVoSbro
That PI is requires_payment_method. You haven't tried to confirm it with a pm_xxx yet
i am trying yo confirm a payment intent with payment_method for terminal payments only
but i am not able to get the payment method id from the response data
and i am unable to creating the charge id for this trascation
You need to collect the PM data from the Terminal reader: https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=android#collect-payment