#howard9075_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- howard9075_api, 15 hours ago, 6 messages
- howard9075_api, 17 hours ago, 7 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252829242274615318
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hello! Gimme a while to take a look
hrm, can you try having paypal as the only payment method first, and include the payment_method_data.type when creating the PaymentIntent as per https://docs.stripe.com/payments/paypal/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api ?
No, I sent payment_method_types: ['card', 'link', 'paypal']. So I need to manually include 'paypay' first If I create an payment Intent with paypal?
I'm asking that you try it to see if it works any differently
Thank you, give me some minutes
Hello, I tried, this time I include paypal first: ['paypal', 'card','link']. But I got the same error again
This is my logID: req_F34A1qDePpUHvJ
Hi @paper gale can you give me some help, please
Hi, could you specify only paypal?
give me a minute please
Hi @past galleon , I include only paypal this time, and I got the same old errors, this is my logID: req_5sUWfBxdxH1TVr
You are using Express Checkout Element, correct?
but i do not the payment_method_types cause the error, I check the log and it said that:
"outcome": {
"network_status": "declined_by_network",
"reason": "generic_decline",
"risk_level": "not_assessed",
"seller_message": "The bank did not return any further details with this decline.",
"type": "issuer_declined"
},
Did you specify the captureMethod here? https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#additional-options
Yes
I specify the capture method when I create payment intent in the BackEnd, Then I update the element using element.update.
So I think my element is matching the payment intent I created in BE
Just for sure, when you console.log paymentIntent here, what does it output?
Here is my output:
{
"id": "pi_3PTGGiCMztaulBaW0c7MNFWk",
"object": "payment_intent",
"amount": 11199,
"amount_details": {
"tip": {}
},
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3PTGGiCMztaulBaW0c7MNFWk_secret_I8qVcYbOE5orxRhRwKpk5NAzb",
"confirmation_method": "automatic",
"created": 1718771832,
"currency": "usd",
"description": null,
"last_payment_error": null,
"livemode": false,
"next_action": null,
"payment_method": null,
"payment_method_configuration_details": null,
"payment_method_types": [
"paypal"
],
"processing": null,
"receipt_email": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"status": "requires_payment_method"
}
But I log this on event shippingaddresschange
At first, on event shippingaddresschange, I call API to create the payment intent, then update the info for the Express checkout element
Yeah, right...
I think this could be a bug on our end. Could you reach out to Support and mention this thread? I will leave a note there and we will investigate further with our internal engineering team
qq does this work before and stopped working?
No we just trying to use express element for the first time. Back then we use the Payment request button for: Link, apple pay, gg pay and everything work fine. We need to migrate to use Express element because Payment request button does not support Paypal
Thank you so much for your help. let me send an email to your Support
Yes please feel free to include this thread link. Then let me know the email you just sent so I can leave a note
Hi @past galleon what is your email so I can cc you
Hi @past galleon . I fill the contact form to send an email. How can I share it you?. This is my contact form link: https://support.stripe.com/contact/email?topic=api_integration&token=o_64Lk1amMhTZAcfjjmIrkqYfR-WG0U8fS3j5Xt_S29ic_TbToXAUMkJjgL83W7WgIEVemno
Hmm I see, does it send you an email? Did you specify your account id?
Yes I specify my stripe account ID and It sent me back and email notification
Could you share that email?
@past galleon I'm sorry but can not find a way to share my received email as a link. Can you give me your email so I can cc you on it.
May be I don't get what you mean on "share that email"
I mean share you email address which you received this email!
ah, my apologize, my email is: thingo@beeketing.net