VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: restodo on August 12, 2017, 14:48:28 PM

Title: On pluginresponsereceived an error 400 Invalid Credentials
Post by: restodo on August 12, 2017, 14:48:28 PM
Hi,

I'm having the following problem using a payment plugin called "Todo Pago" https://github.com/TodoPago/Plugin-VirtueMart

After I've made an order and made payment, when returns to store with task pluginresponsereceived an error 400 Invalid Credentials appears (attached picture).
I've been looking what could be the problem but I didn't found anything.

Just to clarify, the order is recorded correctly in db, the main problem is when coming back from plugin never shows Thank you message and instead error 400 Invalid Credentials.


Regards.
Title: Re: On pluginresponsereceived an error 400 Invalid Credentials
Post by: jenkinhill on August 12, 2017, 15:24:08 PM
Have you asked the developer of that plugin?
Title: Re: On pluginresponsereceived an error 400 Invalid Credentials
Post by: restodo on August 12, 2017, 16:53:06 PM
Yes, i ask for the problem but the answer from them takes to long to come, that's why I ask to the community to understand what could causing the error.
Title: Re: On pluginresponsereceived an error 400 Invalid Credentials
Post by: K&K media production on August 12, 2017, 16:58:03 PM
Quoteerror 400 Invalid Credentials

Maybe you've entered wrong credentials?
Title: Re: On pluginresponsereceived an error 400 Invalid Credentials
Post by: restodo on August 12, 2017, 17:04:39 PM
Thanks for your answer but no, if you mean user/pass are correct because the order is recorded correctly in database.
It's another problem but I can't figure it out.
Title: Re: On pluginresponsereceived an error 400 Invalid Credentials
Post by: restodo on August 12, 2017, 20:00:58 PM
The error happens when the following line of function PaymentResponseReceived() is executed.

$returnValues = $dispatcher->trigger('plgVmOnPaymentResponseReceived', array( 'html' => &$html,&$paymentResponse));