Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Script Appearing on Order conmfirmation page


colageneral

Recommended Posts

Posted

Hi Can anyone please help me figure this out... I installed the gift wrap contribution for 2.3.1. this error has been posted on the support page for this module, however no one seems to be posting any replies. When I check the gift wrap option then the following appears on the order confirmation page rite at the top

 

array(19) { ["order_status"]=> string(1) "1"

["currency"]=> string(3) "ZAR"

["currency_value"]=> string(10) "1.00000000"

["payment_method"]=> string(16) "Cash on Delivery"

["cc_type"]=> string(0) ""

["cc_owner"]=> string(0) ""

["cc_number"]=> string(0) ""

["cc_expires"]=> string(0) ""

["shipping_method"]=> string(20) "Flat Rate (Best Way)"

["shipping_cost"]=> string(4) "5.00"

["giftwrap_method"]=> string(9) "Gift Wrap"

["giftwrap_cost"]=> string(4) "5.00"

["giftwrap_message"]=> NULL

["giftwrap_card"]=> NULL

["subtotal"]=> float(259.99)

["tax"]=> float(0)

["tax_groups"]=> array(1)

{ ["Unknown tax rate"]=> float(0) }

["comments"]=> string(0) ""

["total"]=> float

 

Can someone... anyone... who knows what all this means please point me in the right direction to get this sorted out....

Posted

Hello

Sounds like the code is not being parsed as PHP so it is being printed to the screen instead of being processed.

Is the code wrapped in the <?php ?> tags?

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Hi Nic

 

Thanks for the reply. I have looked in every php file associated with the giftwrap module and all of the codes seem to be fine. I will have to recheck. Do you know which file in particular would have this code (order.php, checkoutconfirmation.php etc)... this would narrow it down for me as I am relatively php illeterate...

Posted

is a debug mode turned on in the shopadmin?

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Ok so I

is a debug mode turned on in the shopadmin? HTH G

 

I have no idea... There is no debug option under the giftwrap module in the admin. How do I turn on debug if that is not what you are talkin about?

Posted

Hi all, Aqeeliz provided this solution to the nagging code problem on the order confirmation page... needless to say it works like a charm... All gratitude to him...

 

Aqeeliz:

Just remove the

var_dump($order->info);

from catalog/checkout_confirmation.php and it will remove this code that is showing up.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...