#b33fb0n3

1 messages ยท Page 1 of 1 (latest)

grizzled raptorBOT
eager spoke
#

Hello, can you send me the Id of the API request where you got the error about PayPal not being activated? (req_123)

heavy dew
#

yes, it's req_RqTE9RIdzkaKt1

eager spoke
#

Thank you! Checking in to this

heavy dew
eager spoke
#

Hey huge apologies, I accidentally dropped this thread when the server got busy but am testing now

heavy dew
#

ah ok, no problem. Take your time ๐Ÿ™‚

eager spoke
#

Strangely that same call just worked for me without activating PayPal in my dashboard. Checking in to why we are seeing different behavior now...

heavy dew
#

hm that's weird ๐Ÿค”

eager spoke
#

I haven't been able to reproduce this error unfortunately. It looks like your code is fine, so this may be a configuration issue somewhere. Can you reach out to our support team and show them that request ID? They should be able to help get your account config straightened out https://support.stripe.com/?contact=true

heavy dew
#

I used the following code:

    const stripeKey = await getStripeKey(req.body.test)
    const stripe = require('stripe')(stripeKey);

    const paymentLink = await stripe.paymentLinks.create({
        line_items: [
            {
                price: 'price_1NLggoD...',
                quantity: 1,
            },
        ],
        payment_method_types: [
            "paypal"
        ],
    });

    res.json({status: 200, paymentLink});
eager spoke
#

Yep, same code on the Same API version gives me a different result. I'm still having trouble finding leads on where this error is coming from. Did support specifically direct you here? I may need to grab that email thread and get back to you through there so I can look deeper

heavy dew
#

They haven't specifically directed me here. They try to get the thread from me and I provided it, but they also couldn't help me :/
This looks for me like a problem on stripes end. Because the api refuses ๐Ÿค”

eager spoke
#

Unfortunately I'm not finding further info on this at the moment. Can you DM me your email address? I'll try to grab it and get back to you through email

heavy dew
#

Yes, I sent you my mail

grizzled raptorBOT
eager spoke
#

@heavy dew I'm not immediately seeing anything recent about this. Do you know when you talked to support about this?

eager spoke
#

Unfortunately I can't find it and don't think I can grab this then. I'd recommend reaching out again and pressing support on this. If it helps you can provide them with my request ID from this happening successfully from another account so that they can see that your code is valid. req_u2mtxNUsQ1F2kV

#

Apologies for bouncing you around but they really are the best team to raise this to at the moment

heavy dew
#

oh ok, I will try my best... but if they say to me that I need to talk to you here at discord, I won't do again, ok?

eager spoke
#

Yeah, they shouldn't refer you here. If it is something our team can address they can escalate internally.