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

Find customer #49

Open
zulander1 opened this issue Jun 2, 2021 · 1 comment
Open

Find customer #49

zulander1 opened this issue Jun 2, 2021 · 1 comment

Comments

@zulander1
Copy link

How do check if the customer exists ?

this is giving me a error: GlobalPayments.Api.Entities.UnsupportedTransactionException: 'Transaction type not supported for this payment method.'

GlobalPayments.Api.Entities.Customer customer = GlobalPayments.Api.Entities.Customer.Find(customer.Id.ToString());

also please update this document:
https://developer.globalpay.com/api/card-storage#api-card-new
You need to add customer.Create();

@monsieurberry
Copy link

monsieurberry commented Nov 7, 2023

Did anyone find an answer to this? I am having the exact same problem trying to find and delete a customer...

Have tried...

var customer = GlobalPayments.Api.Entities.Customer.Find(customerId).Delete();

and...

var c = new Customer()
{
  Id = customerId,
  Key = customerId
};
c.Delete();

Both are giving me Transaction type not supported for this payment method as mentioned by the OP.

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

2 participants