VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: Helgos on October 07, 2011, 14:32:30 PM

Title: PHP warning after paying via Paypal
Post by: Helgos on October 07, 2011, 14:32:30 PM
Hi,

i am using virtuemart 1.1.9 with Joomla 1.5. PHP Version is 5.3.2

Paypal is configured with the api version.

The problem is, that paypal payment doesn't work:

- First i make an order
- I select Paypal as payment method
- The redirection to Paypal works fine (with the correct amount)
- After i click "Pay" Paypal "sents" me back to the Shopsite an there i get a warning as follows:

Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/domainname.de/shop/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 952

Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/domainname.de/shop/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 988

Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/domainname.de/shop/administrator/components/com_virtuemart/html/checkout.index.php on line 149

Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/domainname.de/shop/administrator/components/com_virtuemart/html/checkout.index.php on line 159

And many more of them.

The payment is not made in Paypal (i think because the gives no feedback) and the order is in the basket.

What is wrong? Whta can i do? Google can't help me and i have no idea any more.

Please help!



Helgos