HI All.
I have just installed 1.08, and everything seems OK until I get to the last step.
Using paypal standard, you can order items, pay (payments work) and then when you click on the link to return to my web site (from Paypal), I get this error message
Fatal error: Call to a member function getAddressFormatted() on a non-object in /...../public_html/catalog3/includes/modules/payment/paypal_standard.php on line 522
I had the same problem in v1.07
The line in question is here
/* One Page Checkout - BEGIN */
$sendToFormatted = tep_address_label($customer_id, $sendto, 0, '', "\n");
if (ONEPAGE_CHECKOUT_ENABLED == 'True'){
---> $sendToFormatted = $onePageCheckout->getAddressFormatted('sendto');
}
$billToFormatted = tep_address_label($customer_id, $billto, 0, '', "\n");
if (ONEPAGE_CHECKOUT_ENABLED == 'True'){
$billToFormatted = $onePageCheckout->getAddressFormatted('billto');
}
/* One Page Checkout - END */
I don't understand why the return page is calling paypal_standard.php anyway - shouldn't it be calling checkout_success ???
Can anyone confirm the correct return page please ? (or have any ideas about this prob) ??
Thanks
Hardy