VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: eunger on September 25, 2019, 07:37:16 AM

Title: VM 3.6.0.10113 - http error 500 upon confirmation from bank
Post by: eunger on September 25, 2019, 07:37:16 AM
Good morning all-

I have looked through the forum but have not found the answer to my problem, hence this message.

At the end of processing an order, right after the card payment, our bank tries to transmit a payment status back to VirtueMart. The problem is this transmission currently fails.

I indeed automatically receive an email from the bank with the following message:

"WARNING: Impossible to connect to https://www.mydomainname.com/index.php?option=com_virtuemart&format=raw&view=vmplg&task=notify&tmpl=component&pm=4 for the payment "M=800&R=1ZGV015&T=52632085&A=XXXXXX&B=0&P=CARTE&C=Visa&S=111111&Y=FRA&E=00000&D=2006&I=FRA&N=&J=&H=E4F9BFE711C9FAA2AE39A16AD4F8C3134720D580&W=25092019&K=vJdOm4q4Si3zWOUiP%2FFqqpSACuhNK2VmHWMDmHxMivAQxlFgb1sinidbQ6AP1o7St38wNydRvyiKJMnt2j0G4hT0H0QXNnHDI126b1WEbIJT6widEblI2W%2FQm%2Bf1ZHaA8XG35ngvEUmAvB3yKm6kWwCOaO1km9xscgKYne7ejJk%3D"
Error : code HTTP: 500

In other words, the bank receives back a generic HTTP error (500) from my web server indicating something went wrong, but I just cannot figure out what the root cause of the problem is.
There is nothing in the VirtueMArt logs mentioning this problem.

What would be your recommendation to troubleshoot this problem further?

Your help would be greatly appreciated.

Cheers,

Eric
Title: Re: VM 3.6.0.10113 - http error 500 upon confirmation from bank
Post by: GJC Web Design on September 25, 2019, 10:01:26 AM
http://forum.virtuemart.net/index.php?topic=117042.0

and go to the url directly in the browser and find the error
Title: Re: VM 3.6.0.10113 - http error 500 upon confirmation from bank
Post by: eunger on September 26, 2019, 00:11:54 AM
Thank you GJC.
This has been very helpful: I am now getting an error message (indicating that something is amiss fwith the component my bank sent me). I am thus taking the matter up to them.

Quick question, I am seeing in the log associated with my payment module the following error message:
QuoteERROR pbxIsValidSignature: Received a signature invalid

Would that error ring a bell to anybody out there?

Again, thank you.

Eric

Title: Re: VM 3.6.0.10113 - http error 500 upon confirmation from bank
Post by: GJC Web Design on September 26, 2019, 11:32:57 AM
I assume there is a "signature" sent back and forth with the notifications -- normally a hash (md5 etc) + password ..
Its saying this is wrong - or the plugin is de-crypting it wrongly