#howard9075_api

1 messages ¡ Page 1 of 1 (latest)

wicked mirageBOT
frozen spokeBOT
#

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.

wicked mirageBOT
#

👋 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.

paper gale
#

hello! Gimme a while to take a look

fringe river
#

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?

paper gale
#

I'm asking that you try it to see if it works any differently

fringe river
#

Thank you, give me some minutes

frozen spokeBOT
fringe river
#

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

past galleon
#

Hi, could you specify only paypal?

fringe river
#

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

past galleon
#

You are using Express Checkout Element, correct?

fringe river
#

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"
  },
past galleon
fringe river
#

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

past galleon
#

Just for sure, when you console.log paymentIntent here, what does it output?

fringe river
#

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

past galleon
#

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?

fringe river
#

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

past galleon
#

Yes please feel free to include this thread link. Then let me know the email you just sent so I can leave a note

fringe river
#

Hi @past galleon what is your email so I can cc you

past galleon
#

Could you share you email here?

#

Thanks!

fringe river
#

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

past galleon
#

Hmm I see, does it send you an email? Did you specify your account id?

fringe river
#

Yes I specify my stripe account ID and It sent me back and email notification

past galleon
#

Could you share that email?

fringe river
#

@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"

past galleon
#

I mean share you email address which you received this email!

fringe river