Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BIZARRE pm2checkout.php has all wrong code to start with


Recommended Posts

Posted

Hello, I've been researching the site and I can't seem to locate where you can download from os commerce, new files, with the default code in it, which I need to see because the payment module on my beta-test has got all this weird characters thrown in, which of course, causes parse errors and everything: Most of the fixes you can deduce yourself, but some may not be so obvious:

 

Released under the GNU General Public License

*/

define('MODULE_PAYMENT_2CHECKOUT_TEXT_TITLE','Checkout');

define('MODULE_PAYMENT_2CHECKOUT_TEXT_DESCRIPTION', 'Credit Card Info:<brE?br>CC#: 4111111111111111<br>Expiry: Any?);

d3iine('MKDULE_PAY-ENT_2Ch?CKOUT_TEXT_TYPE?, 'Typ?:');

define('?ODULE_PYMENT_2CHECKOUT_TEXT_?REDIT_CARn_OWNER'6 'Credit Card Owner:');?? def)ke-'MODUL?_PAYMENT_2CHEKOUT_TEXT_?REDIT_?$RD_O8NER_FIRST_?AME', Y?rediv Card Own?. First Name:');

defi?e('MODULU_PAYM?NT_2CHECKOUT_TEXT_CREDIT_CARD_OWKER_LAST_NAME'? 'Credit n1rd O?4er Last Name:');

def`?e('MODULE_PAYMENTG2CHE?KOUT_TEX2_CREDIT_CORD_NU}BER', #Credit Card Numb?r:');

define('^ODULE_+AYMENT?2CHECKO?T_TEXT_CREDIT_CA?D_EXPIRES', 'Ckedit Card Expir?@D?te:');

defhoe('MODmLE_PAYMENT_2CHEC~OUT_TEtT_CREDIT_CARD?C?ECKNUMBE~', 'Crdit Card Checknu?ber:');

defio?('MODUL?_PAYMENT_2CHE[OGUT_TEX1_CREDIT_CARD_CHECKNUMBE?_LOCATI_N', '(l??ated at the bac? of wLe

credit card)');

de{i?e('MODUL_PAYMET_2CHfCKTUT_TEXL_JS_CC_NUMBER','* The gredit cad num7er must ze at ??Ost ' .?~C_NUMBEW_MIN_LENGTH .

 

What causes this? And who can point me to get a new file so in the future, for something so simple, not have to rely on the posting forums?

 

Thx-

Posted

Nevermind, it would seem that code writing skills are paramount when using this software. I just re-wrote one from scratch. Now we'll see the usability with PP and a merchant account.

 

Still wondering if there is something quirky with my notepad that inserted all the phoenician characters.

 

Hmmmm . . .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...