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

Not working when amount more then 1 #6

Open
ForestChong opened this issue Dec 14, 2018 · 1 comment
Open

Not working when amount more then 1 #6

ForestChong opened this issue Dec 14, 2018 · 1 comment

Comments

@ForestChong
Copy link

ForestChong commented Dec 14, 2018

Hi,

The payment gateway is not working when I tried to change the amount from "1.00" to "2.00", but is working with amount "1.00", even I try to change other currency such like "USD", "RMB", it not working too. any idea?

parameter:

  pay = () => {
  try {
    const data = {};
      data.paymentId = "2"; // refer to ipay88 docs
      data.merchantKey = merchantKey;
      data.merchantCode = merchantCode;
      data.referenceNo = "1234565";
      data.amount = "2.00";
      data.currency = "MYR";
      data.productDescription = "Payment";
      data.userName = "MCD SDN BHD";
      data.userEmail = "test@gmail.com";
      data.userContact = "0123456789";
      data.remark = "me";
      data.utfLang = "UTF-8";
      data.country = "MY";
      data.backendUrl = "http://sample.com";
      const errs = Pay(data);
      if (Object.keys(errs).length > 0) {
        console.log(errs);
      }
    } catch (e) {
      console.log(e);
    }
  };
@nikuh
Copy link

nikuh commented Dec 15, 2018

Hi.

I think if merchant Key and merchant code is for test now, ipay88 allows to send only 1.00 in test account.

Once merchant account is activated as live status, they will allowed the amount more than 1.

Also I have one issue in i88 payment getway integrating. (Issue4)

Could you tell me about the mobile merchant key and code is different with web one.?

How did you get the merchant key and code from ipay88.?

Best Regards

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