News:

Looking for documentation? Take a look on our wiki

Main Menu

[INFO REQUESTED] nightly build from the 10th purchase error

Started by ChristopherMexico, September 13, 2007, 00:19:56 AM

Previous topic - Next topic

ChristopherMexico

I made a purchase from my own site using a coupon code to bring the price down to zero.

I got the following error(PHP code):

f("order_tax") + $db->f("order_shipping_tax"); $discount_total = $db->f("coupon_discount") + $db->f("order_discount"); $post_variables = Array( "cmd" => "_cart", "upload" => "1", "business" => PAYPAL_EMAIL, "receiver_email" => PAYPAL_EMAIL, "item_name" => $VM_LANG->_PHPSHOP_ORDER_PRINT_PO_NUMBER.": ". $db->f("order_id"), "order_id" => $db->f("order_id"), "invoice" => $db->f("order_number"), "amount" => round( $db->f("order_subtotal")+$tax_total-$discount_total, 2), "shipping" => sprintf("%.2f", $db->f("order_shipping")), "currency_code" => $_SESSION['vendor_currency'],"first_name" => $dbbt->f('first_name'), "last_name" => $dbbt->f('last_name'), "address_street" => $dbbt->f('address_1'), "address_zip" => $dbbt->f('zip'), "address_city" => $dbbt->f('city'), "address_state" => $dbbt->f('state'), "address_country" => $dbbt->f('country'), "image_url" => $vendor_image_url, "return" => SECUREURL ."index.php?option=com_virtuemart&page=checkout.result&order_id=".$db->f("order_id"), "notify_url" => SECUREURL ."administrator/components/com_virtuemart/notify.php", "cancel_return" => SECUREURL ."index.php", "undefined_quantity" => "0", "test_ipn" => PAYPAL_DEBUG, "pal" => "NRUBJXESJTY24", "no_shipping" => "1", "no_note" => "1" ); if( $page == "checkout.thankyou" ) { $query_string = "?"; foreach( $post_variables as $name => $value ) { $query_string .= $name. "=" . urlencode($value) ."&"; } mosRedirect( $url . $query_string ); } else { echo ''; echo ''; foreach( $post_variables as $name => $value ) { echo ''; } echo ''; } ?>

aravot

Please see template report

Joomla version, server info (php, sql), in backend / frontend, last night I was testing coupon system didn't encounter any errors if you could please post steps to replicate, thank you.

ChristopherMexico

ok  Joomla 1.5RC2, php    5.1.6, mysql    5.0.27

As I said I made a test purchase which I added a coupon to cover the cost I set it at 100%. Once the order was complete it gave that mess and said that it would e-mail. I would assume that that was the order confirmation page.