News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Getting single error at the end: Error: Failure in Processing the Payment

Started by conticreative, September 23, 2008, 05:05:14 AM

Previous topic - Next topic

letsroll

I second the request!!!!  I have exactly the same issue and my client is about to hit the roof.........................

This tread is very hard to follow to be able to get all the changes you all did or at what line to place the code, etc

Can you please post a copy of your ps_authorize.php?

Or someone post the step by step.

Very much appreciated!
http://www.dynamicconferences.com
Audience Response Systems, ARS

David Richmond

Try this out its mine live copy and it works for me:

David


[attachment cleanup by admin]

Zyloch

My client had the same problem, with VM not stripping the beginning headers. The solution is the same, but I used this piece of code, which may be simpler:

In ps_authorize.php, find the two lines that say:


// Strip off quotes from the first response field
$response[0] = str_replace( '"', '', $response[0] );


Immediately before, put this line:


$response[0] = substr($response[0], strpos($response[0], "\r\n\r\n")+strlen("\r\n\r\n"));


ou81aswell

Is it possible you have two payment methods setup that use ps_authorize? VM may not be using the correct ps_authorize payment method internaly, EVEN if you disable the unwanted payment method.

More info here:

http://forum.virtuemart.net/index.php?topic=58552.0

bobsonator

Quote from: David Richmond on July 03, 2009, 22:24:17 PM
Try this out its mine live copy and it works for me:

David


David, I just used yours,

Im on PHP Version 5.2.9, Joomla Version 1.5.12

and according to phpinfo

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

yet in the end, i still get

Error: Failure in Processing the Payment (ps_authorize)

I am also on test mode.

Thank you for any help.


strdesign

I am getting the same error.  I tried everything in the forums but no lock.  Can I pay a VM Expert to fix this please?  Please PM and I will pay for the fix. Thanks,
Lewis

DWhitten

add some debug to the payment plugin..


$vmLogger->debug( '[Line 404] Communicating with '.$host );   <-- adds debug to the debug file specified in VM config


$vmLogger->err('The transaction could not be completed.' );  <-- adds debug output to the screen


ellaregee

was having same issues. used Dave Richmonds ps_authorize.php file - problems seem to be fixed.

LrG