#shaharyarilyas
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0]? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
const paymentMethod = await stripe.paymentMethods.create(
{
type: "card",
card: { token: "tok_visa" },
},
{
stripeAccount: "acct_1OAlJlQo3UxrCnaQ",
}
);
const intent = await stripe.paymentIntents.create(
{
currency: "gbp",
amount: 1000,
payment_method_types: ["card", "card_present"],
payment_method: paymentMethod.id,
capture_method: "manual",
},
{
stripeAccount: "acct_1OAlJlQo3UxrCnaQ",
}
);
here is my code
you can see payment status is incomplete
can you share the PaymentIntent id?
what are you trying to achieve here? Is the customer on-session and you're trying collect payment from them?
i want to test payment-intent api for custom connect accounts simple
the PaymentIntent requires confirmation as you'll be able to see from the status in the response. If you're just looking to test things out, include confirm=true when creating the PaymentIntent
how i show statement descriptor if i use direct charges for connect account