Announcement

Collapse
No announcement yet.

Missing Pay with Paypal checkout button.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Missing Pay with Paypal checkout button.

    I have everything setup for easycart, and paypal activated and linked. However when pay with paypal is selected, the submit order button disappears, and there is no pay button.

    Paypal did log this error in the easycart trouble shooting:


    "Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [datarotected] => Array
    (
    [date] => Tue, 07 Dec 2021 17:36:23 GMT
    [server] => Apache
    [cache-control] => Array
    (
    [0] => no-store, no-cache, must-revalidate, max-age=0
    [1] => post-check=0, pre-check=0
    )

    [pragma] => no-cache
    [content-security-policy] => default-src 'self'
    [x-content-security-policy] => default-src 'self'
    [x-webkit-csp] => default-src 'none'
    [x-content-type-options] => nosniff
    [x-xss-protection] => 1; mode=block
    [x-frame-options] => DENY
    [strict-transport-security] => max-age=31536000
    [content-length] => 21
    [content-type] => text/html; charset=UTF-8
    )

    )

    [body] => {"error":"duplicate"}
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [responserotected] => Requests_Response Object
    (
    [body] => {"error":"duplicate"}
    [raw] => HTTP/1.1 200 OK
    Date: Tue, 07 Dec 2021 17:36:23 GMT
    Server: Apache
    Cache-Control: no-store, no-cache, must-revalidate, max-age=0
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    Content-Security-Policy: default-src 'self'
    X-Content-Security-Policy: default-src 'self'
    X-WebKit-CSP: default-src 'none'
    X-Content-Type-Options: nosniff
    X-XSS-Protection: 1; mode=block
    X-Frame-Options: DENY
    Strict-Transport-Security: max-age=31536000
    Content-Length: 21
    Connection: close
    Content-Type: text/html; charset=UTF-8

    {"error":"duplicate"}
    [headers] => Requests_Response_Headers Object
    (
    [datarotected] => Array
    (
    [date] => Array
    (
    [0] => Tue, 07 Dec 2021 17:36:23 GMT
    )

    [server] => Array
    (
    [0] => Apache
    )

    [cache-control] => Array
    (
    [0] => no-store, no-cache, must-revalidate, max-age=0
    [1] => post-check=0, pre-check=0
    )

    [pragma] => Array
    (
    [0] => no-cache
    )

    [content-security-policy] => Array
    (
    [0] => default-src 'self'
    )

    [x-content-security-policy] => Array
    (
    [0] => default-src 'self'
    )

    [x-webkit-csp] => Array
    (
    [0] => default-src 'none'
    )

    [x-content-type-options] => Array
    (
    [0] => nosniff
    )

    [x-xss-protection] => Array
    (
    [0] => 1; mode=block
    )

    [x-frame-options] => Array
    (
    [0] => DENY
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=31536000
    )

    [content-length] => Array
    (
    [0] => 21
    )

    [content-type] => Array
    (
    [0] => text/html; charset=UTF-8
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://connect.wpeasycart.com/paypal-v2/webhook-create.php?is_sandbox=0&merchantID=JGGZ8MBP32FKS&w ebhookURL=https://72.23.219.43?wpeasycarthook=paypal-webhook
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookiesrotected] => Array
    (
    )

    )

    )

    [filenamerotected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )
    "

    This leads me to believe something is not setup correctly. Any ideas?

  • #2
    I have found more information about the issue. It seems my website linkes /api/checkout.js ot my site, but the actual URL is https://paypal.com/api/checkout.js any ideas on where to fix this at?

    Comment

    Working...
    X