I have set up a sandbox environment and enabled Business Pro so that they can accept Credit Card payments.
I am using the DirectPayment function in PHP that you provide on website and pass the following parameters: $paymentType, $paymentAmount, $creditCardType, $creditCardNumber,$expDate, $cvv2, $firstName, $lastName, $street, $city, $state, $zip, $countryCode, $currencyCode
It makes the call with $resArray=hash_call("DoDirectPayment", $nvpstr);
and the $nvpstr string is '&AMT=1&CURRENCYCODE=GBP&PAYMENTACTION=Sale&CREDITCARDTYPE=Visa&ACCT=4137350247384347&EXPDATE=122020&CVV2=123&FIRSTNAME=Test&LASTNAME=Last&STREET=TheLarchlands&CITY=Penn&STATE=Buckinghamshire&COUNTRYCODE=GB&IPADDRESS=90.207.76.28'
Why am I getting a failure response:
Direct credit card payment API call failed. Detailed Error Message: This transaction cannot be processed due to an invalid merchant configuration. Short Error Message: Invalid Configuration Error Code: 10501 Error Severity Code: Error
Thanks!