Jump to content


Corporate Sponsors


Latest News: (loading..)

John W

Member Since 05 Nov 2002
Offline Last Active Mar 09 2012, 04:27
-----

Posts I've Made

In Topic: Namespaces Explained

30 June 2011, 16:18

Glad you like it. I found it to be very well explained with great examples that show the advantages of using it. I didn't understand how strong namespaces were before reading this article. I read several others on their site and I really like how they explain everything.

In Topic: One Page Checkout for osCommerce 2.3.1

20 June 2011, 19:32

One thing that is obvious is you don't have the jquery css linked. The jquery functions do not work correctly if a correct version of the css is not linked. On one page I know it was there but commented out.

In Topic: One Page Checkout for osCommerce 2.3.1

13 June 2011, 14:03

Torgrim,

If you are runing on a server using Mod_suphp, and you should be, check your permissions for the files and folders you uploaded. Suphp will error 500 if permissions are too high, so php files must be 600 or lower and folders must be 755 or lower. Just a thought.

You can also try setting only one simple payment like COD and a simple shipping.

In Topic: One Page Checkout for osCommerce 2.3.1

06 June 2011, 20:39

opps

In Topic: One Page Checkout for osCommerce 2.3.1

05 June 2011, 06:56

Well, your file didn't work for me but it got me but it kinda got me on the right track and I have it working so I appreciate your help. See process_button below
FYI, you have an error around line 20, it should be
      if ((int)MODULE_PAYMENT_AUTHORIZENET_CC_AIM_ORDER_STATUS_ID > 0) {
        $this->order_status = MODULE_PAYMENT_AUTHORIZENET_CC_AIM_ORDER_STATUS_ID;
      }

Here is what needs to be in the stock authorizenet_cc_aim module
    function process_button() {
      // Hidden fields on the checkout confirmation page
      $process_button_string = tep_draw_hidden_field('cc_expires_month', $_POST['cc_expires_month']) .
                               tep_draw_hidden_field('cc_expires_year', $_POST['cc_expires_year'], -2) .
                               tep_draw_hidden_field('cc_number_nh-dns', $this->cc_number_nh-dns) .
                               tep_draw_hidden_field('cc_cvc_nh-dns', $_POST['cc_cvc_nh-dns']);


      return $process_button_string;
    }