Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Payment Modules / PayPal payment page - subject to have order number as well

PayPal payment page - subject to have order number as well

Locked

Started by samad64 on 27 May 2006, 9:57 PM · Views: 3,449

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 May 2006, 9:57 PM
#1
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

PayPal payment page - subject to have order number as well

Hello everyone,

I would like to have the Order # show up on the PayPal payment. When I make an order and use paypal, the subject line does not have "Order # ___" attached at the end of it. It only has "GetYourGamesHere.com - Your Videogame Headquarters!"

Is there a way to add the Order # ___ at the end of it, or replace the "Your Videogame Headquarters!" with it? I looked around a little bit but could not find anything. I know the declaration for it is in the paypal.php file around line 186:

    //                              zen_draw_hidden_field('handling', MODULE_PAYMENT_PAYPAL_HANDLING) .
                             zen_draw_hidden_field('image_url', MODULE_PAYMENT_PAYPAL_IMAGE_URL) .
                             zen_draw_hidden_field('page_style', MODULE_PAYMENT_PAYPAL_PAGE_STYLE) .
                             zen_draw_hidden_field('item_name', STORE_NAME) .
                             zen_draw_hidden_field('item_number', '1') .
    //                               zen_draw_hidden_field('invoice', '') .

Any help is appreciated. Thanks!

Please note my store is in testing mode right now, so you can make an order if you want and I will delete it, unless you really want an item :)

27 May 2006, 10:53 PM
#2
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: PayPal payment page - subject to have order number as well

it might help if i included the version of zen cart. 1.3.0.1

27 May 2006, 11:32 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,742
Plugin Contributions:
0

Re: PayPal payment page - subject to have order number as well

The problem is that the order number doesn't exist until the customer returns to your site.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 May 2006, 11:42 PM
#4
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Re: PayPal payment page - subject to have order number as well

Kim:

The problem is that the order number doesn't exist until the customer returns to your site.

Ah, I see. Thank you for that information. If I wanted to change that to say "Your Order with GetYourGamesHere.com", would it be as simple as changing it to this:

zen_draw_hidden_field('item_name', "Your Order with GetYourGamesHere.com") .

Or is it more difficult than that? Thanks for your time