|
thanx for the answer ... but i don’t get it this array i got ..
i have two payments method: “payment on delivery” and “credit card payment”. Whatever i choose i get the same array ... i don’t know wich array key to compare beacause are all the same ... ==> code
Why i get allways the data like cc_type and cc_owner ?
I don’t use credit card form to get cc date because i have to redirect customer to the bank weebsite, so to hide cc fields and avoid validation i done this ==> code is this the reason i get all cc data in getData array ?
Maybe i’m doing this in a wrong way .. but as i said i don’t know magento .. so if there is a simpler solution id like to hear it.
..and another thing .. why i get an error if i put in review.phtml a simple code like if($_GET[’x’]) echo ‘OK’; ??
When payement on bank website is done i have to redirect customer back to the last step in .../checkout/onepage/ .. if i refresh i get every time on the first step .. is there any way to get into review step directly ? when i get redirected from bank website i want to put something in url like .../checkout/onepage?payment=ok and if $_GET[payment] == ok then i run JS function review.save(); to finish the order ...
and another thing ... i need order id ... i tryed different calls like $this->getOrderId(); ..but i didn’t get nothing ..
thanx
|