Payment registration pop up page showing up with no payment details

When users attempt to make a payment the pop up membership page shows up with no payment details. If the user then refreshes the popup the payment button and details show.

How can this be fixed?

Here is a video showing the issue: