Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pete2007

Members
  • Posts

    456
  • Joined

  • Last visited

Reputation Activity

  1. Like
    pete2007 reacted to Jack_mcs in Moving servers, access to admin?   
    If your admin has a popup login that was created by the control panel, or manually, then that will most likely fail since the path to the file it uses will change. In that case, just delete the .htaccess file in admin and create a new one with the control panel. Also, if the path to the files have changed then you will have to change the configure files. And if the username of the account has changed you will have to change the database credentials.
  2. Like
    pete2007 reacted to Jack_mcs in PayPal not charging postage/shipping   
    I'm sure it could be done but preventing a customer from buying more seems like a bad idea. hen the customer is returned from paypal with the Express module, he is logged in if not already done and then sent to the confirmation page. I suppose you could put a note there telling them that changing the order will cause the charge to fail.
    Other than that, I'm not aware of a way to stop it except for switching to the Standard module. That one only shows up on the checkout pages so the amount is final at that point.
  3. Like
    pete2007 reacted to osCommerce-Official in Menu Editor   
    Peter, demo will be made available shortly. Works are in progress to update the back end and front end at the moment.
  4. Like
    pete2007 reacted to JcMagpie in Change Layout For PayPal Hosted ~ paypal_pro_hs.php   
    So then just scroll down to this sectinon and follow instructions.
    https://developer.paypal.com/docs/payflow/integration-guide/configure-hosted-checkout/#hosted-pages-and-mobile-browsers
  5. Thanks
    pete2007 reacted to peterbuzzin in PayPal Express ~ Duplicate Orders   
    @pete2007 it sure is (but don't tell burt I told you this or he'll get all "Stack Overflow" on me!!).
    Again, anyone else reading this, this is method is specific for pete2007's installation which doesn't make use of Header Tags modules nor $oscTemplate->getBlocks('footer_scripts'); and everything is hardcoded in template_bottom.php
    In ext/jquery/main.js find:
    /* BOF Prevent multiple form submissions from multiple clicks on checkout_confirmation.php */ if($('form[name=checkout_confirmation]').length > 0){ $('form[name=checkout_confirmation]').submit(function(){ Replace with:
    /* BOF Prevent multiple form submissions from multiple clicks on checkout_confirmation.php and contact_us.php */ if($('form[name=checkout_confirmation], form[name=contact_us]').length > 0){ $('form[name=checkout_confirmation], form[name=contact_us]').submit(function(){ And then just for the sake of completeness find:
    /* EOF Prevent multiple form submissions from multiple clicks */ And replace with:
    /* EOF Prevent multiple form submissions from multiple clicks on checkout_confirmation.php and contact_us.php */ The only caveat is that it will only display one message i.e. "Loading please wait", might have been nicer to have "Sending please wait" for the contact form.  But if you want you could change it to just "Please wait" which would apply equally to both forms nicely.
  6. Like
    pete2007 reacted to peterbuzzin in PayPal Express ~ Duplicate Orders   
    @pete2007 you're welcome
  7. Thanks
    pete2007 reacted to peterbuzzin in PayPal Express ~ Duplicate Orders   
    Hi @pete2007
    Thank you for sending the files in a PM.  I've placed my response here so that if anyone else is in the same situation as you then they can see the solution also.
    Your store setup:
    Doesn't use or load jQuery UI jQuery and javascript is executed from includes/template_bottom.php and not in the <head> tag. Because of this, the script cannot be added directly to checkout_confirmation.php because jQuery loads after the contents of this page. Your site makes good use of a ext/jquery/main.js file instead of inline/on-page Javascript so we'll use this to house the new script. Your store submit button doesn't have any classes applied so no need to copy them to the new dynamic button before hiding the submit button once clicked. Please backup the ext/jquery/main.js file before making changes and be sure to test the checkout_confirmation.php page after making the changes as I've not been able to test this.  You may also need to clear your temporary internet files/cache if your browser doesn't detect the additional code to the file immediately.
    In ext/jquery/main.js
    Go to the very bottom of the file after the closing }); and press return twice to create some spacing.
    Add the following, save and upload.
    /* BOF Prevent multiple form submissions from multiple clicks on checkout_confirmation.php */ if($('form[name=checkout_confirmation]').length > 0){ $('form[name=checkout_confirmation]').submit(function(){ var btnLoadingTxt = 'Loading Please Wait'; var confirmationForm = $(this); confirmationForm.find('button[type=submit]').each(function (index) { $(this).clone(false).attr('id', 'disabledBtn').prop('disabled', true).text(btnLoadingTxt).insertBefore($(this)); $(this).hide(); confirmationForm.prepend($(this)); }); }); } /* EOF Prevent multiple form submissions from multiple clicks */ Because we can't add this code directly to the checkout_confirmation.php page if left as it was it would attempt to execute on every page load.  It would only work on the checkout_confirmation.php page but there's still no point taking extra resources to attempt to execute when not needed so I've added code to check if the confirmation form is present before execution.
  8. Like
    pete2007 reacted to Harald Ponce de Leon in IPN Verification Postback to HTTPS Microsite *Important Update Needed*   
    All PayPal modules we have included in our releases have always used HTTPS and POST. If you would like to make sure that your module works without disruption after June 30, you can check now by performing a test order and transaction using the PayPal sandbox server.
  9. Like
    pete2007 got a reaction from thouccaft in PayPal IPN, not receiving IPN (on occasion)   
    Hi,
     
    I am using the PayPal IPN module but on occasion we aren't receiving the osc confirmation email.
     
    Does anyone know how I can resolved this issue?
     
    Thanks in advance!
×
×
  • Create New...