# PayPal javascript not loading. Field not Showing \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/paypal-javascript-not-loading-field-not-showing-resolved/14734>\
**Category:** Get Help\
**Tags:** paypal, query-string, conflict, paypal-checkout\
**Created:** [March 17, 2023, 8:52pm UTC](https://community.gravityforms.com/t/paypal-javascript-not-loading-field-not-showing-resolved/14734 "2023-03-17T20:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![5f5e9c9ce6b55fc5630a](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/5f5e9c9ce6b55fc5630a/32/16130_2.png) [@5f5e9c9ce6b55fc5630a](https://community.gravityforms.com/u/5f5e9c9ce6b55fc5630a)\
**Post date:** [March 17, 2023, 8:52pm UTC](https://community.gravityforms.com/t/paypal-javascript-not-loading-field-not-showing-resolved/14734/1 "2023-03-17T20:52:42Z")

</div>

I have a donation form using the PayPal Checkout add-on. The payment method and credit card fields are not showing. They are there but hidden.

I have tried disabling all other plugins and the problem still exists.

The inspector shows .gform\_wrapper.gravity-theme .gform\_ppcp\_custom\_card\_fields, from theme.min.css (plugins/gravityformsppcp/assets/css/dist/theme.min.css), has “display: none” set.

When I check the console this message is listed.  
Loading failed for the with source “[https://www.paypal.com/sdk/js”](https://www.paypal.com/sdk/js%E2%80%9D). donation-test:317:1

I have my Sandbox PayPal Developer business account connected. The merchant ID and all the yeses are showing on the PayPal Checkout settings page.

Can anyone shed some light on why this may be happening?  
Many Thanks!

---

<div class="post-metadata">

**Author:** ![5f5e9c9ce6b55fc5630a](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/5f5e9c9ce6b55fc5630a/32/16130_2.png) [@5f5e9c9ce6b55fc5630a](https://community.gravityforms.com/u/5f5e9c9ce6b55fc5630a)\
**Post date:** [April 10, 2023, 11:02pm UTC](https://community.gravityforms.com/t/paypal-javascript-not-loading-field-not-showing-resolved/14734/2 "2023-04-10T23:02:06Z")

</div>

I found what was happening and it’s my fault. I have code to remove query strings from static resources. It was removing all the parameters when the page was loading the PayPal JS SDK.

I changed the code and it’s all fixed now.

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [April 11, 2023, 7:41pm UTC](https://community.gravityforms.com/t/paypal-javascript-not-loading-field-not-showing-resolved/14734/3 "2023-04-11T19:41:53Z")

</div>


