Skip to content

PayPal payment issue: Unexpected token 'C', "Contact up"... is not valid JSON #9772

@ajaypatelaj

Description

@ajaypatelaj

Bug Report

Expected behavior

It should not give any error while using the PayPal as payment gateway.

Actual behavior

From the last few days, we have been facing an issue regarding the Payment via PayPal.
Some of our customers are unable to complete payment via PayPal and they get this error "Unexpected token 'C', "Contact up"... is not valid JSON"
Some of the customers are getting error like: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Currently, the frequency of this issue appearing is very random. We tried to regenerate the issue but it is not appearing.
We even tried using VPN. So, there must be some specific reason responsible here for the issue.
We need your assistance in solving the above issue as it is affecting our business.

Steps to reproduce the behavior

1)No idea but our customers are able to reproduce it.
etc, etc

Information (if a specific version is affected):

PHP Version: 8.1.31

EDD Version (or branch): 3.4.4

WordPress Version: 6.7.1

Any other relevant information:

PFA image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions