Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer.getCustomerByReferenceId bug #128

Open
cnhuz opened this issue Jan 11, 2023 · 0 comments
Open

Customer.getCustomerByReferenceId bug #128

cnhuz opened this issue Jan 11, 2023 · 0 comments

Comments

@cnhuz
Copy link

cnhuz commented Jan 11, 2023

sample code:

public static void main(String[] args) {
        try {
            Xendit.apiKey = "...";
            Customer[] customers = Customer.getCustomerByReferenceId("...");
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

The error occurs at xendit-java-lib-1.21.0.jar com.xendit.network.BaseRequest line 124

resource = (new Gson()).fromJson(responseBody, clazz);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant