News:

Looking for documentation? Take a look on our wiki

Main Menu

Any way to skip the payment method

Started by blossom, October 25, 2005, 14:02:53 PM

Previous topic - Next topic

blossom

hello reader,

Is there anyway to skip the payment method just collect the cutomer's info and billing info.i would like to have option as cash on delivery but would liket o hide it from the customer.

Regards,

lucion

I believe you'd have to hack into the PHP to do that

Look at \administrator\components\com_phpshop\html\checkout.index.php
around line 184
/*** -CHECK_OUT_GET_PAYMENT_METHOD
        * let the user choose a payment method  ***/
        elseif ($checkout_this_step == CHECK_OUT_GET_PAYMENT_METHOD) {

            require_once(CLASSPATH . 'ps_payment_method.php');
            $ps_payment_method = new ps_payment_method;
            include(PAGEPATH . 'checkout.paymentradio.php');  ?>
           
            <input type="hidden" name="page" value="checkout.index" />
            <input type="hidden" name="func" value="checkoutprocess" />
            <input type="hidden" name="ship_to_info_id" value="<?php echo $ship_to_info_id ?>" />
            <input type="hidden" name="shipping_rate_id" value="<?php echo urlencode($shipping_rate_id?>" />
            <?php
        

        
        
        elseif (
$checkout_this_step == CHECK_OUT_GET_FINAL_CONFIRMATION) {


Look at these files too:
\administrator\components\com_phpshop\html\checkout.paymentradio.php
\administrator\components\com_phpshop\classes\ps_payment_method.php

If you need PHP work, I might be your man.  PM me.

Good Luck,
Bevan/
http://lucion.com.ar
--
the brain is like a computer · there really aren't any stupid people · just people running Windows

danathomas76


whooyeah

Is there another solution to this??

It seems that the cart skips the payment method anyway as i only have the paypal option but the title and the checkout bar still says there is 4 steps so its confusing.