TypeError: paypalCheckoutInstance is undefined

Created on 10 March 2024, 9 months ago
Updated 11 March 2024, 9 months ago

Drupal Version is 10.2.1
Commerce braintree version is 8.x-1.5
Php version 8.1.0

when i use this module I am getting this error on console "TypeError: paypalCheckoutInstance is undefined" and also purchase button is disabled as shown in screenshot attached below.

Can you please let me know how to resolve this

πŸ’¬ Support request
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom zohera

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @zohera
  • πŸ‡ΊπŸ‡ΈUnited States TomTech

    Hi @zohera

    Changing the priority on this. Please review the list of priority options β†’ .

    Also, changing this to a support request, unless a bug is identified.

    Based on the screenshot, the first thing that should be remedied is that the environment is NOT https. Payment gateways will NOT typically load/execute in a non-secure environment.

  • πŸ‡¬πŸ‡§United Kingdom zohera

    @tomtech thank you for this. I have also tested this on https and I can still see same issue. I have attached screenshot below for your reference(braintree-paypal.png). Can you please help to resolve this asap as it is priority for me. Many Thanks.

Production build 0.71.5 2024