Jump to content
  • 0

2Checkout Module Not Registering Payments


Question

Posted

As the topic says.

 

If I register a new service, the payment is successful, but my clients pay the bills and they are not registered.

 

This is the log for 2checkout.

 

/index.php/callback/gw/1/_2checkout/
a:35:{s:14:"middle_initial";s:0:"";s:3:"sid";s:7:"1936995";s:3:"key";s:32:"CD940710A6E8CBE34CE14AC010DEEB18";s:5:"state";s:1:"B";s:5:"email";s:22:"xxxxxx@hotmail.com";s:8:"submit_y";s:2:"28";s:12:"order_number";s:10:"5148010180";s:7:"cart_id";s:12:"4-1386116475";s:13:"currency_code";s:3:"USD";s:4:"lang";s:2:"en";s:8:"invoices";s:76:"YToxOntpOjA7YToyOntzOjI6ImlkIjtpOjQzO3M6NjoiYW1vdW50IjtzOjU6IjE0Ljk5Ijt9fQ==";s:10:"invoice_id";s:10:"5148010201";s:5:"total";s:5:"14.99";s:21:"credit_card_processed";s:1:"Y";s:3:"zip";s:4:"5881";s:5:"fixed";s:1:"Y";s:11:"cart_weight";s:1:"0";s:6:"submit";s:18:"Pay with 2Checkout";s:9:"last_name";s:6:"xxxxx";s:4:"city";s:5:"xxxxx";s:14:"street_address";s:11:"ruta 5 2390";s:13:"cart_order_id";s:12:"4-1386116475";s:7:"country";s:3:"ARG";s:17:"merchant_order_id";s:0:"";s:10:"ip_country";s:9:"Argentina";s:4:"demo";s:1:"N";s:9:"client_id";s:1:"4";s:8:"submit_x";s:2:"79";s:10:"pay_method";s:2:"CC";s:13:"cart_tangible";s:1:"N";s:5:"phone";s:25:"phone phone";s:15:"street_address2";s:15:"Rincon del Este";s:18:"x_receipt_link_url";s:70:"https://clients.elysiumservers.com/index.php/callback/gw/1/_2checkout/";s:16:"card_holder_name";s:15:"Nicolás Alaniz";s:10:"first_name";s:8:"Nicolás";}
 
Status:  ERROR
 
 
And the payment is actually registered in 2checkout but comes with ERROR for blesta so it never get's registered.
 
This is serious, all my clients are complaining that they don't get the receipt and that the system appears not to be working.

If I make a new payment for a new service it works, it's just won't work for my clients recurring bills.
 
HELP !!

10 answers to this question

Recommended Posts

  • 0
Posted

/index.php/callback/gw/1/_2checkout/

a:35:{s:14:"middle_initial";s:0:"";s:3:"sid";s:7:"1936995";s:3:"key";s:32:"CD940710A6E8CBE34CE14AC010DEEB18";s:5:"state";s:1:"B";s:5:"email";s:22:"nico_88_57@hotmail.com";s:8:"submit_y";s:2:"28";s:12:"order_number";s:10:"5148010180";s:7:"cart_id";s:12:"4-1386116475";s:13:"currency_code";s:3:"USD";s:4:"lang";s:2:"en";s:8:"invoices";s:76:"YToxOntpOjA7YToyOntzOjI6ImlkIjtpOjQzO3M6NjoiYW1vdW50IjtzOjU6IjE0Ljk5Ijt9fQ==";s:10:"invoice_id";s:10:"5148010201";s:5:"total";s:5:"14.99";s:21:"credit_card_processed";s:1:"Y";s:3:"zip";s:4:"5881";s:5:"fixed";s:1:"Y";s:11:"cart_weight";s:1:"0";s:6:"submit";s:18:"Pay with 2Checkout";s:9:"last_name";s:6:"Alaniz";s:4:"city";s:5:"Merlo";s:14:"street_address";s:11:"ruta 5 2390";s:13:"cart_order_id";s:12:"4-1386116475";s:7:"country";s:3:"ARG";s:17:"merchant_order_id";s:0:"";s:10:"ip_country";s:9:"Argentina";s:4:"demo";s:1:"N";s:9:"client_id";s:1:"4";s:8:"submit_x";s:2:"79";s:10:"pay_method";s:2:"CC";s:13:"cart_tangible";s:1:"N";s:5:"phone";s:25:"542664401614 542664401614";s:15:"street_address2";s:15:"Rincon del Este";s:18:"x_receipt_link_url";s:70:"https://clients.elysiumservers.com/index.php/callback/gw/1/_2checkout/";s:16:"card_holder_name";s:15:"Nicolás Alaniz";s:10:"first_name";s:8:"Nicolás";}
 
Status:  ERROR

 

You shouldn't post that error as it has your customer's information in it.

  • 0
Posted

Try this:

 

Update /components/gateways/nonmerchant/_2checkout/_2checkout.php (line # 290)

 

from

 

        $order_number = ($this->ifSet($post['demo']) == "Y") ? "1" : $this->ifSet($this->meta['transaction_id']);

 

to

 

        $order_number = ($this->ifSet($post['demo']) == "Y") ? "1" : $this->ifSet($post['order_number']);

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...