#austintangent_18313

1 messages · Page 1 of 1 (latest)

sly vigilBOT
hardy storm
#

Hi there

#

Let's start with the first part here

#

What is the error you are seeing exactly when you say there is a connectivity issue?

warm raft
#

The PaymentElement is not rendering on my page anymore. Just an empty div

hardy storm
#

Okay well that could mean many things

#

Do you see an error in your console?

warm raft
#

Negative

hardy storm
#

Hmm okay what about on your server then?

warm raft
#

Ran a production build and got this

#

Line 20 is this:

hardy storm
#

Okay so that likely means you have an issue hitting your server on page load

#

Yep something is wrong with your fetch request

warm raft
#

.then((data) => setClientSecret etc.

hardy storm
#

Have you added logs server-side to ensure that your create-payment-intent endpoint returns a client secret as you expect?

warm raft
#

Don't believe so, I'll try to implement that now

hardy storm
#

👍