directed to paypal after hitting "next"

(1/4) > >>

steelduck:
hi,
i am using vm 1.1.7 and joomla 1.5.22 and i am currently testing paypal sandbox.

i encountered a similar problem as described here:
http://forum.virtuemart.net/index.php?topic=81085.0

i am directed to paypal after hitting "next" - and not after "confirm order" (where the buyer is supposed to confirm terms and conditions as well).

going through the test payment i am redirected to the "confirm order" screen with a couple of failure messages or alternatively receiving them directly after hitting the pay button in paypal.

Failure messages as below:
Info: the address was added by the user
failure: payment failed. choose annother payment method.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 663

line 663: if(in_array('CHECK_OUT_GET_PAYMENT_METHOD', $checkout_steps[$current_stage]))

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 663

the same?

Fatal error: Call to a member function url() on a non-object in /administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 679

line 679: if(in_array('CHECK_OUT_GET_PAYMENT_METHOD', $checkout_steps[$current_stage]))


and of course the credit card option showing up, as mentioned somewhere as well.


as far as i understand from the other post - the solution is vantage technic's paypal module? or is this one obsolete since i am using the latest version of vm?

thanx for your help

piperpilot:
Directing to PayPal before the final confirmation screen is actually proper according to the flow that is programmed in.  This is leveraging the "Express Checkout" option of paypal.  After the user confirms all of the information on paypal and returns to your site to accept the terms and conditions, the payment is processed.  If they never accept your Ts & Cs and confirm, then the payment is never processed.

As for your errors...that I can't really see what is going on.

steelduck:
thanx for your answer.

that is strange, i have never encountered a shop where i had to pay before confirmation of the order.

is it possible to change that? i want buyers to comfirm first and pay after. perhaps even skip the first page, since its the same on the second only with the choice of payment method additionally.

do you think that: One Page Checkout for Virtuemart could solve the problems, without much hassle?

 

 

zanardi:
Strange as it sounds, this is how PayPal Express Checkout works. I think you can handle this by putting Payment selection and Order confirmation in the same page. You can do that in Virtuemart -> Configuration -> Checkout: insert same number for "Show on step:" for last two options.

steelduck:
yes that puts it all on the second step. and it would be great like that if it only would work.

what i find strange is that it seems to have a life on its own. one time the paypal express button shows up (its set on no) and another time it doesnt. and i dont want it at all since i want the buyer to be transferred to paypal after confirmation of the order.

same is with the whole payment process. one time i get through the paypal payment and back to where i started from (a loop) and recently i just get a whole page of error messages as you can see below.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 944

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 980

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 149

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 159

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 182

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 280

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 287

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 295

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 311

Warning: Invalid argument supplied for foreach() in /administrator/components/com_virtuemart/html/checkout.index.php on line 319

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 335

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /administrator/components/com_virtuemart/html/checkout.index.php on line 345


hope they tell you something.

well it didnt work before either but now it seems to add to the problem that it probably wants to come back to the confirm order step, which i finished before being transferred to paypal.

i really would like to have it all in one step and working, how can i get it out of the loop?

 


Navigation

[0] Message Index

[#] Next page