Jump to content

rhubarb

Members
  • Content count

    176
  • Joined

  • Last visited

Posts posted by rhubarb


  1. I've been using opc1.5 for a while and I have an intermittent bug where occassionally the customer name, billing address, and delivery address are not transmitted, they are missing from the order details in the database and from the email.

     

    When I output the session data in checkout_process.php SESSION_SSL_ID shows the customer_id and customer_default_address_id, it's the customer, delivery, and billing arrays that are empty, billto and sendto are zero, and the cartID is blank but the cart array is populated with product details.

     

    I've seen a couple of posts with missing address issues but not seen any solutions yet. Can anyone help please?


  2. I can't seem to get off first base with this module. So far I've done the following:

     

    1) installed the module

    2) created a simulator account

    3) set the vendor name to be the same as my simulator account name

    4) set the transaction server to be 'Simulator'

    5) set the Profile payment page to be 'Low'

    6) changed the code in checkout_process.php as per https://github.com/osCommerce/oscommerce2/commit/80fb06c35704b1c9a8160bc7f7345cc91145862a

     

    How is it meant to work? I was told it uses an iframe, do we have to create and add a php page with an iframe or does this automatically appear in the checkout_confirmation page? I'm seeing everything as normal and when I click confirm in checkout_confirmation it returns to the payment page with a general error.

     

    Why do they say it will not work in conjunction with Paypal, is it because of the code change in checkout_process.php (my point 6)?

     

    Any advice please?


  3. The jQuery red gear and green tick icons show to the right of the billing fields on my local server but when the files were uploaded to the remote online server none of the icons would show. I checked all the files exist many times.

     

    As a test I copied the html from the checkout page and saved it to an html file then uploaded it and found that all the icons showed on the local server, and on the remote server sometimes the red icons showed (maybe on first load) and always the green tick icon would show adjacent the country field. So the green tick shows on the remote server using the html file but not in the php file.

     

    This has really got me baffled, any ideas please?


  4. My One Page Checkout works fine with JQuery v1.3.2 but I found thet JQuery v1.4.2 causes errors on first load, the first error is: "There was an error updating your billing address".

     

    Looks like I'm going to have to always include JQuery v1.3.2 and reference this for it to work.


  5. There's also a published fix for osCommerce Pay Pal IPN in its support thread to get it to work with osC Affiliate properly.

    Vger

     

    Can you give me a pointer to this fix please, I'm not finding it. My problem is that the affiliate sales record is not being added.


  6.  

    Thanks for the pointer. Sadly it's not worked in my case - according to firebug, it's hanging @ line 1565 of checkout.js -

     

    Hi Chris,

     

    I'm also trying to use payment modules other than Paypal, I've got cod and sagepay_form and, whilst it works in IE8, in FF the confirm button does not display, it hangs with "loading setting payment method". I've updated includes/checkout/payment_selection.php.

     

    I've also tested with only Paypal standard payments enabled and the same thing occurs.

     

    I've got FireBug installed but don't know how to use it properly to see it I get the same error message. I've checked in my checkout.js which is version OPC 1.3 and I see my setPaymentMethod function starts at line 773, so we must have different versions I assume.

     

     setPaymentMethod: function ($button){
       var checkoutClass = this;
       this.setModuleMethod('payment', $button.val(), function (data){ 
    
     if (typeof(data.id) !="undefined"){   
                   selectedM = $(eval(data.id));
    
                   /*$('.pay1').each(function(){
                       if($(this).attr('id')!=selectedM.attr('id'))
                           $(this).css('display',"none");
                       else
                           $(this).css('display',"");
                   });*/
         }
       });
     },
    


  7. I've replaced One Page Checkout version 1.06 with 1.3 and now find that the Post Code field checks as ok (green tick) even though it is blank and the minimum number of characters is set to 4 in admin. Any ideas please?

    It might be cache, try using a new window, you are first to have that problem, but i have my password is never long enough lol

     

    Steve

    Thanks Steve for the suggestion, however I've tried again after several weeks in IE and FF and the same thing occurs. Any ideas where to start with debugging please?


  8. My rewrite rules work fine as long as the site is configured in includes/configure.php with the 'www' preceding the domain name for the http addresses. However I cannot get the 'filter for most common exploits' and 'ban spam bots' rules to work.

     

    Eg with:

     

    RewriteEngine On 
    RewriteBase /
    RewriteCond %{QUERY_STRING} c99 [OR]
    RewriteRule ^.* - [F,L]
    

     

    For the whole site I get error 500: "You don't have permission to access / on this server."


  9. My payment and shipping options are not showing unless gender is selected. However I don't want to show the gender selector, so with gender set to false in admin > customer details the updating of the payment and shipping options does not trigger.

     

    I've looked in the javascript function getFieldErrorCheck for a reference to the 'billing_gender' field but it is not mentioned.

    Appologies, the payment and shipping options do display when the gender field is not visible, it's just that they were taking a while to show on my server and there's no ajax loading icon displaying.


  10. Various cases for $action exist in file checkout.php, there are several for which I can't find where they are called from, there are no other references in other files for the following cases (most other cases are referenced in checkout.js):

     

    setMembershipPlan

    setCustomerTelephone

    setCustomerDateOfBirth

     

    I see there is a function setTelephoneNumber in the osC_onePageCheckout class


  11. My payment and shipping options are not showing unless gender is selected. However I don't want to show the gender selector, so with gender set to false in admin > customer details the updating of the payment and shipping options does not trigger.

     

    I've looked in the javascript function getFieldErrorCheck for a reference to the 'billing_gender' field but it is not mentioned.


  12. In the pre-requisites is listed:

    OSCommerce Community Add-Ons: UK Debit Card (Switch) payment facility

     

    Why is this needed? Does this module receive credit card details on the same server as osCommerce ie the customer is not transfered to HSBC's secure server? If that's the case then another pre-requisite surely is that the server needs to be PCI DSS compliant.


  13. I found that the tickbox didn't always show depending on sequence of events, the variable $use_credit_string was somehow being cleared so I updated line 119 in the order total class with:

    $use_credit_string .= $GLOBALS[$class]->use_credit_amount();

     

    I realise that the gift voucher module sort order needs to be before the order total for the gift voucher value to be subtracted.

     

    My remaining issue is the Gift Voucher Release Queue, how is that supposed to work?


  14. I see that when a GV is redeemed then a checkbox appears in checkout payment which allows the customer to use the amount in their GV account. In checkout confirmation the GV amount appears below the total but is not subtracted from the sub-total, will that be because Queue Purchases is enabled in admin?

     

    Also when the order is placed nothing appears in the Gift Voucher Release Queue.

×