Jump to content

kimj

Members
  • Content count

    17
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Kim Jones
  1. kimj

    Payflow Pro

    Hi all, I know this may sound like a very stupid question but when working on installing payment modules in osCommerce I see where there is a Payflow Pro (UK) only. Will this version work with transactions based mainly in the US? The client does get orders from outside the country but most are from US. Before recommending the proper payment processing I want to make sure this will work. Thanks All! Kim :blush:
  2. Ok guys....I have downloaded and installed the STS4 contribution...now I'm working to make sense of it. I unzipped the contribution and found no files called full or test that are described. Am I missing something...I'm a bit buggy eyed :blink: at this point so I need some help. I'm a beginner in PHP and coding so be gentle. Thanks,
  3. kimj

    Error Code

    Thanks Phil...I figured it out.....Now all I have to do is figure out how to change how the products show up in the middle of the page. I'm new at this so every turn is a new adventure... :lol:
  4. kimj

    Error Code

    >_< Hi, I'm trying to install STS and mananged to fix a couple of errors but I have one that I'm about ready to pull my hair out with it is: Parse error: syntax error, unexpected T_DEFAULT in /home/dnkwsnet/public_html/catalog/admin/modules.php on line 387 The area of code is below with the line problem larger and bold. Can someone look at this and let me know what I'm missing? Many thanks in advance.... $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; default: $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); if ($mInfo->status == '1') { $keys = ''; reset($mInfo->keys); while (list(, $value) = each($mInfo->keys)) { // {{ buySAFE Module if (method_exists($module, 'hidden_keys') && in_array($key, $module->hidden_keys())) continue; // }}
  5. kimj

    Run sql

    Hi everyone... I need a little help. I've been working on adding the ability to put textboxes on my sub categories. I've added all the code but I don't know how to "run subcategory_textboxes.sql". Since this is not an optional function I need to run it. Problem is I don't know the steps to do that. Can everyone tell I'm a newbie :blink: ? I've looked for instructions but cannot find. Is there someone out there that can help me? Many thanks to everyone for their help now, in the past and in the future. lol!! Kim
  6. kimj

    Paypal Website Standard Set Up Errors

    Thanks...that got me past that point! You're a doll!
  7. Need help w/paypal set up in other forum

  8. :'( Help! I've been trying to set up OSCommerce with Paypal Website Payments Standard and I'm getting errors I cannot figure out how to fix. Can someone look at this? The errors are first...then I've added the code with the line number at the bottom. I will be forever grateful for any assistance!!! The site is www.jesusshare.net/shop you can go through the order process, selecting Paypal and hitting continue I get the following errors: Warning: fopen(/262699-2-data.txt) [function.fopen]: failed to open stream: Permission denied in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 331 Warning: fwrite(): supplied argument is not a valid stream resource in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 332 Warning: fclose(): supplied argument is not a valid stream resource in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 333 Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 338 Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 338 Warning: openssl_pkcs7_sign() [function.openssl-pkcs7-sign]: error getting private key in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 338 Warning: unlink(/262699-2-data.txt) [function.unlink]: No such file or directory in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 340 Warning: file_get_contents(/262699-2-signed.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 343 Warning: fopen(/262699-2-signed.txt) [function.fopen]: failed to open stream: Permission denied in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 347 Warning: fclose(): supplied argument is not a valid stream resource in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 349 Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 353 Warning: unlink(/262699-2-signed.txt) [function.unlink]: No such file or directory in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 355 Warning: file_get_contents(/262699-2-encrypted.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 358 Warning: unlink(/262699-2-encrypted.txt) [function.unlink]: No such file or directory in /home/jesussha/public_html/shop/includes/modules/payment/paypal_standard.php on line 362 THE LINES OF CODE: 331 $fp = fopen(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'data.txt', 'w'); 332 fwrite($fp, $data); 333 fclose($fp); 337 if (function_exists('openssl_pkcs7_sign') && function_exists('openssl_pkcs7_encrypt')) { 338 openssl_pkcs7_sign(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'data.txt', MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'signed.txt', file_get_contents (MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PUBLIC_KEY), file_get_contents(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PRIVATE_KEY), array('From' => MODULE_PAYMENT_PAYPAL_STANDARD_ID), PKCS7_BINARY); 340 unlink(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'data.txt'); 343 $signed = file_get_contents(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'signed.txt'); 347 $fp = fopen(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'signed.txt', 'w'); 349 fclose($fp); 353 openssl_pkcs7_encrypt(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'signed.txt', MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'encrypted.txt', file_get_contents(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_PAYPAL_KEY), array('From' => MODULE_PAYMENT_PAYPAL_STANDARD_ID), PKCS7_BINARY); 355 unlink(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'signed.txt'); 358 $data = file_get_contents(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'encrypted.txt'); 362 unlink(MODULE_PAYMENT_PAYPAL_STANDARD_EWP_WORKING_DIRECTORY . '/' . $random_string . 'encrypted.txt')
×