Jump to content

geoker

Member
  • Posts

    3
  • Joined

  • Last visited

About geoker

geoker's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. "Transaction amount too low. Please try another payment method or open a ticket with Billing." I got this error because blockchain blocked my ip. In order to see if your ip is blocked : 1 . open blockchain.php , 2. search for ' return "Transaction amount too low" 3. add the $amount var to the return in order to debug : ' return "$amount Transaction amount too ' . The amount var contains the curl request return. 4. Try opening an invoice an pay with blockchain. It should display an error saying that your ip is blocked. I fixed this by asking my hosting provider for an dedicated ip and adding : curl_setopt($ch, CURLOPT_INTERFACE, $_SERVER['SERVER_ADDR']); before any curl_exec in blockchain.php.
  2. As a client, if i go to my account details, add a valid credit card and try to make a purchase using the added card, it works great. But, if i type my credit card number on the order form, i always get an error message saying the verification has failed. Again, i used the same credit card for both situations. When it fails, the transaction is not logged at braintree. I've attached a print screen of the error message. Error log Invoice ID => 119 User ID => 11 Amount => 0.99 exception 'Braintree_Exception_Authentication' in /home/niggayou/public_html/<removed>/members/modules/gateways/braintree/lib/Braintree/Util.php:59 Stack trace: #0 /home/niggayou/public_html/<removed>/members/modules/gateways/braintree/lib/Braintree/Http.php(42): Braintree_Util::throwStatusCodeException(401) #1 /home/niggayou/public_html/<removed>/members/modules/gateways/braintree/lib/Braintree/Customer.php(479): Braintree_Http::post('/customers', Array) #2 /home/niggayou/public_html/<removed>/members/modules/gateways/braintree/lib/Braintree/Customer.php(92): Braintree_Customer::_doCreate('/customers', Array) #3 /home/niggayou/public_html/<removed>/members/modules/gateways/braintree.php(76): Braintree_Customer::create(Array) #4 /home/niggayou/public_html/<removed>/members/includes/classes/WHMCS/Module.php(0): braintree_capture(Array) #5 /home/niggayou/public_html/<removed>/members/includes/classes/WHMCS/Module/Gateway.php(0): WHMCS_Module->call() #6 /home/niggayou/public_html/<removed>/members/includes/ccfunctions.php(0): WHMCS_Module_Gateway->call() #7 /home/niggayou/public_html/<removed>/members/creditcard.php(0): captureCCPayment() #8 {main} It appears that BrainTree is throwing a 401 Unauthorized error when you try to POST to /customers. I've attached a print screen of the error Does anyone know how to fix this? Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated