Zen Follower
- Join Date:
- Jul 2004
- Location:
- Las Vegas
- Posts:
- 327
- Plugin Contributions:
- 0
Made new pop, cant get it to display the text
this was the problem....
I wrote a new popup for paypal using the CVV popup as the guide obviously however i have a small problem.
this is the original code from paypalwpp.php
'module' => '<img src="' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT . '" /><span style="font-size:11px; font-family: Arial, Verdana;"> ' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_TXT . '</span>');this is what i wrote template_biaf/paypalwpp.php> 'module' => '<img src="' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT . '" /><span style="font-size:11px; font-family: Arial, Verdana;"> ' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_TXT . '</span><br><font size="2">Process your Credit Card without being a Paypal member or signing up.</font>' . MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS .);i want the payment option to be displayed out as usual but under the Paypal Express option I want it to read
Process your Credit Card without being a Paypal member or signing up. (More Info)the more info will be this link which is:http://batteriesinaflash.com/index.p...ccprocess_help
My problem is where did i do wrong with the code I wrote in the second section of php above? i get this error when i use it.
Parse error: syntax error, unexpected ')' in /home/batte9/public_html/includes/modules/payment/paypalwpp.php on line 302please let me know what i did wrong> this was the follow up...
Originally Posted by Ajeh
. MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS .);That period next to the ) might do it ...when i removed the period, I didnt get the error anymore but it displayed this:
Process your Credit Card without being a Paypal member or signing up.MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESSinstead of it calling to the define of MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS it displayed it out.so ajeh asked if the MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS was defined and this was my reply
And this constant is defined ...
MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESSI believe so, this is what i have for MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS> define('MODULE_PAYMENT_TEXT_PAYPAL_CCPROCESS', '(<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_CCPROCESS_HELP) . '\')">' . 'More Info' . '</a>)');Now that you up to speed....
What is wrong with my code..
User of zencart