• Resolved newmediaprojects

    (@newmediaprojects)


    I’ve tried to connect to PayPal both manual and via your interface but I’m getting connection / .js issues to PayPal which breaks checkout.

    The error message you’re seeing, “Uncaught ReferenceError: paypal is not defined,” indicates that the paypal object is not recognized in your code. This is typically because the PayPal JavaScript SDK (which should define the paypal object) has not been loaded or initialized correctly.

    Here’s what this means and how it might impact the PayPal checkout functionality:

    1. Missing SDK: The error suggests that the PayPal SDK script may not be included in your page, or it is being loaded after your other scripts try to use the paypal object. Without this SDK, the PayPal checkout cannot proceed, as critical functions and components for processing payments through PayPal would be missing.
    2. Impact on Checkout: Yes, this error would prevent the PayPal checkout from working. Since the paypal object is undefined, any attempt to use PayPal-specific functions will fail, causing the checkout process to break.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @newmediaprojects

    Can you provide some more details regarding the connection issues you are facing? When you click the Connect button on the API Settings page, what is happening?

    When you tried to connect manually, did you follow our documentation? https://docs.paymentplugins.com/wc-paypal/config/#/connect?id=manually-connect

    Can you share a product page link to your site?

    Kind Regards

    Thread Starter newmediaprojects

    (@newmediaprojects)

    Hi,

    So I installed your plugin again earlier and connected via your connection. All looks good both in plugin and in PayPal (keys + Webhook etc).

    In console when testing I’m getting the same error which is confusing:

    URL for your reference: https://www.nurtureadhd.com/checkouts/screen-sense-checkout/

    Image for reference: https://www.dropbox.com/scl/fi/u4sj391g9kd9a7n89vu3j/PayPal.png?rlkey=413u68375i2t9ajyfrm6yt6uj&dl=0

    Thanks,

    Tim

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @newmediaprojects

    You currently have PayPal disabled so I was unable to review your checkout page.

    Kind Regards

    Thread Starter newmediaprojects

    (@newmediaprojects)

    Hi,

    Yes I disabled it as I think it was breaking my checkout with live customers.

    I have just enabled it again for the next hour or so.

    Thanks so much for your help and quick support!

    Tim

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @newmediaprojects

    I didn’t encounter any issues with PayPal on your checkout page. The buttons loaded correctly and there were not Javascript errors. The PayPal popup also worked correctly. Here is a screenshot of the checkout page.

    I see you’re using the Stripe plugin by FunnelKit. I encourage all merchants to be very mindful when selecting which Stripe plugin they use. Here are a few reasons I recommend our Stripe plugin:

    1. As a certified Stripe partner, we receive early API access and our code undergoes Stripe’s approval process. In addition, Payment Plugins regularly contributes to the Stripe roadmap and design of their API’s.
    2. Our entire codebase is original, developed and maintained by our team, ensuring comprehensive support capabilities.
    3. Being a US-based company, we operate under robust US laws protecting both revenue and customer data.

    Kind Regards

    Thread Starter newmediaprojects

    (@newmediaprojects)

    Thank you for your look into the code. I’m still seeing those issues. Perhaps a CDN issue?

    I’m using FunnelKit and their Stripe integration – if yours can work well with upsells / order bumps then I would be open to it. Happy to have a PM conversation around this.

    Not sure if you are able to try and login to a VPN and try the checkout page again to see if errors happen as they are still there for me (unless somehow a cookie / chrome problem). I try in Igognito mode always.

    Thanks,

    Tim

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @newmediaprojects

    if yours can work well with upsells / order bumps then I would be open to it. Happy to have a PM conversation around this.

    Yes, our plugin integrates with the upsell and order bump functionality offered by FunnelKit.

    Please reach out to us via our contact us page.

    Not sure if you are able to try and login to a VPN and try the checkout page again to see if errors happen as they are still there for me (unless somehow a cookie / chrome problem). I try in Igognito mode always.

    I tested with incognito and it worked. I have not tried testing with a VPN. What country are you testing from?

    Kind Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.