Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Purchase Order V2.3


penfold_99

Recommended Posts

Laffs... that wink smiley looks more like somone wacked it upside the head.

 

 

I am also needing to setup a way for my clients to log back in & pay on the PO orders. I have seen it mentioned several times, but wanted to see if anyone had stumbled accross any contribution or at least a start, I will work to taylor it to my needs.

 

I like/need the reporting function to... But I figure that'll be a quick report.... once I can get to it!

 

Many thanks to the authors & support crew for this contribution.

 

Thank you,

Kristine

Kristine

Link to comment
Share on other sites

  • Replies 135
  • Created
  • Last Reply

Top Posters In This Topic

Great contribution!

 

I have installed v2.3.3 and it works great except for one problem. Now when a customer pays using Paypal (it worked fine before), the payment goes through, but the order is never processed via the web site. The order is left as an unsold shopping cart entry.

 

Everything else seems to work. If the customer selects P.O. then the order is completed as expected.

 

Any ideas on where / which file, I should start looking?

 

Thanks in advance.

 

Brian

Link to comment
Share on other sites

  • 5 weeks later...

When someone creates an account, I would like their account to immediately be enabled for a purchase order account. Is there any way to change the default on this and set them up with a credit limit of $1000?

Edited by dcross02
Link to comment
Share on other sites

When someone creates an account, I would like their account to immediately be enabled for a purchase order account. Is there any way to change the default on this and set them up with a credit limit of $1000?

 

If you look at the sql text that came with the contrib, you will see the fourth line says:

 

ADD customers_credit_amount decimal(9,2) NOT NULL default '0250.00',

 

Just go into your sql and modify this default to whatever you want it to say.

 

I'm looking for a way to turn on the credit limit on by default for all new users. I'm presuming it's also in the sql with the first two lines changing from the default '0' to '1'.

Link to comment
Share on other sites

Hello all. I was wondering if you coupld please help me with this contrib. I just recently installed OsCommerce earlier today and I downloaded the contrib. The only problem I have is that the lines they claim should be there aren't anywhere in programming. So, do I have a version that's too new or what? Is there some sort of way that you someone create the php's necessary and email them to me or walk me through how to do this?

 

Here's what my customers.php reads:

 

'1', 'text' => ENTRY_NEWSLETTER_YES), array('id' => '0', 'text' => ENTRY_NEWSLETTER_NO)); ?>

 

 

customers_default_address_id); ?>

customers_gender) . ' ' . MALE . ' ' . tep_draw_radio_field('customers_gender', 'f', false, $cInfo->customers_gender) . ' ' . FEMALE . ' ' . ENTRY_GENDER_ERROR; } else { echo ($cInfo->customers_gender == 'm') ? MALE : FEMALE; echo tep_draw_hidden_field('customers_gender'); } } else { echo tep_draw_radio_field('customers_gender', 'm', false, $cInfo->customers_gender) . ' ' . MALE . ' ' . tep_draw_radio_field('customers_gender', 'f', false, $cInfo->customers_gender) . ' ' . FEMALE; } ?>

customers_firstname, 'maxlength="32"') . ' ' . ENTRY_FIRST_NAME_ERROR; } else { echo $cInfo->customers_firstname . tep_draw_hidden_field('customers_firstname'); } } else { echo tep_draw_input_field('customers_firstname', $cInfo->customers_firstname, 'maxlength="32"', true); } ?>

customers_lastname, 'maxlength="32"') . ' ' . ENTRY_LAST_NAME_ERROR; } else { echo $cInfo->customers_lastname . tep_draw_hidden_field('customers_lastname'); } } else { echo tep_draw_input_field('customers_lastname', $cInfo->customers_lastname, 'maxlength="32"', true); } ?>

customers_dob), 'maxlength="10"') . ' ' . ENTRY_DATE_OF_BIRTH_ERROR; } else { echo $cInfo->customers_dob . tep_draw_hidden_field('customers_dob'); } } else { echo tep_draw_input_field('customers_dob', tep_date_short($cInfo->customers_dob), 'maxlength="10"', true); } ?>

customers_email_address, 'maxlength="96"') . ' ' . ENTRY_EMAIL_ADDRESS_ERROR; } elseif ($entry_email_address_check_error == true) { echo tep_draw_input_field('customers_email_address', $cInfo->customers_email_address, 'maxlength="96"') . ' ' . ENTRY_EMAIL_ADDRESS_CHECK_ERROR; } elseif ($entry_email_address_exists == true) { echo tep_draw_input_field('customers_email_address', $cInfo->customers_email_address, 'maxlength="96"') . ' ' . ENTRY_EMAIL_ADDRESS_ERROR_EXISTS; } else { echo $customers_email_address . tep_draw_hidden_field('customers_email_address'); } } else { echo tep_draw_input_field('customers_email_address', $cInfo->customers_email_address, 'maxlength="96"', true); } ?>

 

 

 

entry_company, 'maxlength="32"') . ' ' . ENTRY_COMPANY_ERROR; } else { echo $cInfo->entry_company . tep_draw_hidden_field('entry_company'); } } else { echo tep_draw_input_field('entry_company', $cInfo->entry_company, 'maxlength="32"'); } ?>

 

 

 

entry_street_address, 'maxlength="64"') . ' ' . ENTRY_STREET_ADDRESS_ERROR; } else { echo $cInfo->entry_street_address . tep_draw_hidden_field('entry_street_address'); } } else { echo tep_draw_input_field('entry_street_address', $cInfo->entry_street_address, 'maxlength="64"', true); } ?>

entry_suburb, 'maxlength="32"') . ' ' . ENTRY_SUBURB_ERROR; } else { echo $cInfo->entry_suburb . tep_draw_hidden_field('entry_suburb'); } } else { echo tep_draw_input_field('entry_suburb', $cInfo->entry_suburb, 'maxlength="32"'); } ?>

entry_postcode, 'maxlength="8"') . ' ' . ENTRY_POST_CODE_ERROR; } else { echo $cInfo->entry_postcode . tep_draw_hidden_field('entry_postcode'); } } else { echo tep_draw_input_field('entry_postcode', $cInfo->entry_postcode, 'maxlength="8"', true); } ?>

entry_city, 'maxlength="32"') . ' ' . ENTRY_CITY_ERROR; } else { echo $cInfo->entry_city . tep_draw_hidden_field('entry_city'); } } else { echo tep_draw_input_field('entry_city', $cInfo->entry_city, 'maxlength="32"', true); } ?>

entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state); if ($error == true) { if ($entry_state_error == true) { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . tep_db_input($cInfo->entry_country_id) . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } echo tep_draw_pull_down_menu('entry_state', $zones_array) . ' ' . ENTRY_STATE_ERROR; } else { echo tep_draw_input_field('entry_state', tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state)) . ' ' . ENTRY_STATE_ERROR; } } else { echo $entry_state . tep_draw_hidden_field('entry_zone_id') . tep_draw_hidden_field('entry_state'); } } else { echo tep_draw_input_field('entry_state', tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state)); } ?>

entry_country_id) . ' ' . ENTRY_COUNTRY_ERROR; } else { echo tep_get_country_name($cInfo->entry_country_id) . tep_draw_hidden_field('entry_country_id'); } } else { echo tep_draw_pull_down_menu('entry_country_id', tep_get_countries(), $cInfo->entry_country_id); } ?>

 

 

 

customers_telephone, 'maxlength="32"') . ' ' . ENTRY_TELEPHONE_NUMBER_ERROR; } else { echo $cInfo->customers_telephone . tep_draw_hidden_field('customers_telephone'); } } else { echo tep_draw_input_field('customers_telephone', $cInfo->customers_telephone, 'maxlength="32"', true); } ?>

customers_fax . tep_draw_hidden_field('customers_fax'); } else { echo tep_draw_input_field('customers_fax', $cInfo->customers_fax, 'maxlength="32"'); } ?>

 

 

 

customers_newsletter == '1') { echo ENTRY_NEWSLETTER_YES; } else { echo ENTRY_NEWSLETTER_NO; } echo tep_draw_hidden_field('customers_newsletter'); } else { echo tep_draw_pull_down_menu('customers_newsletter', $newsletter_array, (($cInfo->customers_newsletter == '1') ? '1' : '0')); } ?>

 

 

' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''; ?>

 

 

 

customers_id)) { echo ' ' . "\n"; } else { echo '

' . "\n"; } ?> customers_id)) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . ''; } ?>

display_count($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_CUSTOMERS); ?> display_links($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y', 'cID'))); ?>

 

 

'' . TEXT_INFO_HEADING_DELETE_CUSTOMER . ''); $contents = array('form' => tep_draw_form('customers', FILENAME_CUSTOMERS, tep_get_all_get_params(array('cID', 'action')) . 'cID=' . $cInfo->customers_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO . '

 

' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . ''); if (isset($cInfo->number_of_reviews) && ($cInfo->number_of_reviews) > 0) $contents[] = array('text' => '

' . tep_draw_checkbox_field('delete_reviews', 'on', true) . ' ' . sprintf(TEXT_DELETE_REVIEWS, $cInfo->number_of_reviews)); $contents[] = array('align' => 'center', 'text' => '

' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''); break; default: if (isset($cInfo) && is_object($cInfo)) { $heading[] = array('text' => '' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . ''); $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_orders.gif', IMAGE_ORDERS) . ' ' . tep_image_button('button_email.gif', IMAGE_EMAIL) . ''); $contents[] = array('text' => '

' . TEXT_DATE_ACCOUNT_CREATED . ' ' . tep_date_short($cInfo->date_account_created)); $contents[] = array('text' => '

' . TEXT_DATE_ACCOUNT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->date_account_last_modified)); $contents[] = array('text' => '

' . TEXT_INFO_DATE_LAST_LOGON . ' ' . tep_date_short($cInfo->date_last_logon)); $contents[] = array('text' => '

' . TEXT_INFO_NUMBER_OF_LOGONS . ' ' . $cInfo->number_of_logons); $contents[] = array('text' => '

' . TEXT_INFO_COUNTRY . ' ' . $cInfo->countries_name); $contents[] = array('text' => '

' . TEXT_INFO_NUMBER_OF_REVIEWS . ' ' . $cInfo->number_of_reviews); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' ' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' ' . "\n"; } ?>

 

 

I could not locate the lines the readme file said to use. Someone please help!!!

Link to comment
Share on other sites

Here's what my orders.php reads:

 

 

customer['format_id'], $order->customer, 1, '', '

'); ?>

 

customer['telephone']; ?>

customer['email_address'] . '">' . $order->customer['email_address'] . ''; ?>

delivery['format_id'], $order->delivery, 1, '', '

'); ?>

billing['format_id'], $order->billing, 1, '', '

'); ?>

 

 

 

info['payment_method']; ?>

info['cc_type']) || tep_not_null($order->info['cc_owner']) || tep_not_null($order->info['cc_number'])) { ?>

info['cc_type']; ?>

info['cc_owner']; ?>

info['cc_number']; ?>

info['cc_expires']; ?>

 

 

 

products); $i<$n; $i++) { echo ' ' . "\n" . ' ' . $order->products[$i]['qty'] . ' x ' . "\n" . ' ' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) { for ($j = 0, $k = sizeof($order->products[$i]['attributes']); $j < $k; $j++) { echo '

- ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo ''; } } echo ' ' . "\n" . ' ' . $order->products[$i]['model'] . ' ' . "\n" . ' ' . tep_display_tax_value($order->products[$i]['tax']) . '% ' . "\n" . ' ' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . ' ' . "\n" . ' ' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) . ' ' . "\n" . ' ' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ' ' . "\n" . ' ' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ' ' . "\n"; echo '

' . "\n"; } ?> totals); $i < $n; $i++) { echo ' ' . "\n" . ' ' . $order->totals[$i]['title'] . ' ' . "\n" . ' ' . $order->totals[$i]['text'] . ' ' . "\n" . '

' . "\n"; } ?>

 

 

 

 

 

 

 

 

 

info['orders_status']); ?>

 

 

 

 

 

'', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), '', 'onChange="this.form.submit();"'); ?>

 

 

 

orders_id)) { echo ' ' . "\n"; } else { echo '

' . "\n"; } ?> orders_id)) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . ''; } ?>

display_count($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_ORDERS); ?> display_links($orders_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'oID', 'action'))); ?>

 

'' . TEXT_INFO_HEADING_DELETE_ORDER . ''); $contents = array('form' => tep_draw_form('orders', FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO . '

 

' . $cInfo->customers_firstname . ' ' . $cInfo->customers_lastname . ''); $contents[] = array('text' => '

' . tep_draw_checkbox_field('restock') . ' ' . TEXT_INFO_RESTOCK_PRODUCT_QUANTITY); $contents[] = array('align' => 'center', 'text' => '

' . tep_image_submit('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''); break; default: if (isset($oInfo) && is_object($oInfo)) { $heading[] = array('text' => '[' . $oInfo->orders_id . '] ' . tep_datetime_short($oInfo->date_purchased) . ''); $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete.gif', IMAGE_DELETE) . ''); $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . ' ' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . ''); $contents[] = array('text' => '

' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased)); if (tep_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . tep_date_short($oInfo->last_modified)); $contents[] = array('text' => '

' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' ' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' ' . "\n"; } ?>

 

Once again, the line it described should be there is not. What do I do?

Link to comment
Share on other sites

Ok Nevermind all. I found out the problem. Although embarrassed to say, I didn't know how to edit the php file. I was trying to use Microsoft Word. Anyways, I'v since then installed everything and the admin is working great. However, when a customer goes to purchase something, the message comes up:

 

1054 - Unknown column 'customers_credit_account_status' in 'field list'

 

SELECT customers_credit_account_status,customers_credit_status, customers_credit_left from customers where customers_id ='2'

 

How can I fix this? I looked in checkout_payment, checkout_process, etc.

 

Any help is deeply appreciated!

Link to comment
Share on other sites

I installed this Mod and it's working correctly. The only problem is that when a customer put order on account, the credit available is not reduce (limit of 1000$ stay to 1000$ after purchase). I read many message in the forum about the problem but no one solved the problem. Anybody could help me?

 

I have Purchase Order v2.3.3

 

Thanks!

Link to comment
Share on other sites

I installed this contribution today. It appears in the Payment section in the admin, but when I click on Customers in the admin, the page is just completely blank.

 

I'm guessing it has something to do with the customers.php file, but I think I have it done right.

 

Does anyone have any suggestions? Perhaps if someone could post their customers file, it might help. Or if anyone knows what the blank page indicates?

 

Any help is appreciated!

 

Bill

Edited by osHacker
Link to comment
Share on other sites

I installed this contribution today. It appears in the Payment section in the admin, but when I click on Customers in the admin, the page is just completely blank.

 

I'm guessing it has something to do with the customers.php file, but I think I have it done right.

 

Does anyone have any suggestions? Perhaps if someone could post their customers file, it might help. Or if anyone knows what the blank page indicates?

 

Any help is appreciated!

 

Bill

 

 

Nevermind. Thanks

Link to comment
Share on other sites

is there any way that under the purchase order account, system, that you can track, the amount of days , that their payment has been outstanding...?

 

example somebody pays with the PO, then deducts the amount from there account.

 

or does this work in a way where they have to topup there account before they can purchase...?

Link to comment
Share on other sites

  • 3 weeks later...
I installed this Mod and it's working correctly. The only problem is that when a customer put order on account, the credit available is not reduce (limit of 1000$ stay to 1000$ after purchase). I read many message in the forum about the problem but no one solved the problem. Anybody could help me?

 

I have Purchase Order v2.3.3

 

Thanks!

 

I seem to be having the same problem. Customer makes a purchase, but the credit amount is not reduced by that amount. They could just keep on shopping!

Any fixes on this one?

I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting...

 

Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database.

Link to comment
Share on other sites

  • 2 weeks later...
I seem to be having the same problem. Customer makes a purchase, but the credit amount is not reduced by that amount. They could just keep on shopping!

Any fixes on this one?

 

I was having this problem but have fixed it now.

My problem was caused because I changed the title of the payment method in the includes/languages/modules/payment/po.php file from:

  define('MODULE_PAYMENT_PO_TEXT_TITLE', 'Purchase Order Account');

to

  define('MODULE_PAYMENT_PO_TEXT_TITLE', 'Invoiced Credit Account');

 

I fixed it by changing the checkout_process.php file to match

Original:

if ($order->info['payment_method'] == 'Purchase Order Account')

Changed to:

if ($order->info['payment_method'] == 'Invoiced Credit Account')

 

May not help for you.. but it worked for me.

Link to comment
Share on other sites

I was having this problem but have fixed it now.

My problem was caused because I changed the title of the payment method in the includes/languages/modules/payment/po.php file

May not help for you.. but it worked for me.

 

I made theses changes to checkout_process.php to work under multi-language store:

 

Add after line 36:

include(DIR_WS_LANGUAGES . $language . '/modules/payment/po.php');

 

Replace:

if ($order->info['payment_method'] == 'Purchase Order Account')

with

if ($order->info['payment_method'] == MODULE_PAYMENT_PO_TEXT_TITLE)

 

Anyone have a better method???

Link to comment
Share on other sites

I made theses changes to checkout_process.php to work under multi-language store:

 

Add after line 36:

include(DIR_WS_LANGUAGES . $language . '/modules/payment/po.php');

 

Replace:

if ($order->info['payment_method'] == 'Purchase Order Account')

with

if ($order->info['payment_method'] == MODULE_PAYMENT_PO_TEXT_TITLE)

 

Anyone have a better method???

 

Thank-you and thank-you again...

 

The addition problem is now fixed in my shop due to the replies from you guys, thanks.

In my shop I add a lot of additional text to the English file to give my customers as much hand holding as possible and that is why the name was originally changed.

The error of my ways was that I did not remove the single quotes on MODULE_PAYMENT_PO_TEXT_TITLE when I tried this the first time and I guess that doesn't work.

 

I can rest now.

 

R

Edited by Leak-Proof

I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting...

 

Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database.

Link to comment
Share on other sites

Replace:
if ($order->info['payment_method'] == 'Purchase Order Account')

with

if ($order->info['payment_method'] == MODULE_PAYMENT_PO_TEXT_TITLE)

 

Great stuff... I forgot all ablut miltilanguage stores!! lol... :blush:

 

I am having one problem still that I hope someone can help with...

 

Everything is working great, purchases go through with no problems, BUT, it is not saving po numbers to the database. I did read someone with this problem before, but didnt see a responce.

 

Has anyone got an idea?

 

I am still going through all the code line-by-line to see if I can find the problem is, but unfortunatley, I'm not all that great with PHP so it will take some time (and I promised to have it doen by the end of the week !!)

 

I am assuming the send to database command is either in the checkout_process.php or includes/classes/order.ohp files. someone PLEASE point me in the right direction if I am wrong!

Edited by Super-Sean
Link to comment
Share on other sites

Problem solved!

 

added:

	   link_post_variable('purchase_order_number');

 

to includes/classes/order.php after:

// >>> BEGIN REGISTER_GLOBALS
   link_post_variable('cc_type'); 
   link_post_variable('cc_owner'); 
   link_post_variable('cc_number'); 
   link_post_variable('cc_expires'); 
   link_post_variable('comments');

 

once again, worked for me, but not sure if it will for anyone else as, I am using a bridged version of os_commerce for Joomla called ECJoomCommerce - from http://www.joomla-host.co.za/

 

Thanks for the great contrib!

Link to comment
Share on other sites

  • 4 months later...

i am having the same problem after installing it. manually changing the values in the database works fine. Any idea?

 

Hi i have tryed to install this comtributions but in the admin section it wont save the value . if i enable it under the custumer and save the change it automaticly go back to disable any ho know why

 

Please write back.

Link to comment
Share on other sites

Hi Guys

 

I have a question regarding the error messages which are shown on checkout_payment.php if you don't have an account or if you've exceeded your limit etc. I get the "credit account error" message on the page but the specific message is shown as part of the URL in the browser address bar. I want it to appear on the web page instead. can you help?

Link to comment
Share on other sites

  • 1 month later...

I have installed this excellent contribution and in terms of doing what is meant to I have only two queries:

 

1) Making a PO purchase works fine via cart and checkout but in Admin going to Customers>Orders and Invoice

the details of the product(s) purchased do not appear. No details at all! Costings do - no problems there!

 

2) Making a purchase which exceeds the credit limit/account balance works fine too but the error message

showing credit balance shows $ instead of £ even though the shop is configured for GBP and £ appears everywhere else.

 

Any ideas, please.

Link to comment
Share on other sites

I have installed this excellent contribution and in terms of doing what is meant to I have only two queries:

 

1) Making a PO purchase works fine via cart and checkout but in Admin going to Customers>Orders and Invoice

the details of the product(s) purchased do not appear. No details at all! Costings do - no problems there!

 

2) Making a purchase which exceeds the credit limit/account balance works fine too but the error message

showing credit balance shows $ instead of £ even though the shop is configured for GBP and £ appears everywhere else.

 

Any ideas, please.

 

Resolved - 1) was database issue. 2) Simply language>error message had dollar symbol typed within text at po.php.

 

Thanks anyway. Very useful contribution!

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

First of thanks for this gr8 contribution.

Now here is what I am stuck with. Customers purchasing with a Order No will have an account. The only customers that are granted accounts are corporates.

 

With telephonic orders these corporate customers does not get charged delivery, is there any way to add a option so that these customers can be exempt from delivery costs when purchasing via PO number ????

Please help for this is all I still need to sort out then we can go online

Link to comment
Share on other sites

  • 1 month later...
Hi. I just installed. When I try to enable an account to use the PO method, or increase the credit limit, nothing happens after i hit update. The screen refreshes to the customer page and the options are not updated on the account...

 

please help.

 

Does anyone have any feedback on this issue?

 

Not sure where to go from here!

Link to comment
Share on other sites

  • 3 months later...
As anyone further modified this to allow someone to use an additional payment method if the line of credit runs out? For example, maybe you want to place an order for $250, with $200 on the Purchase Order, and $50 on a credit card.

 

I'm tried to assess how hard this customization would be.

 

Mark

 

Also inquiring (over 2 years later..) about this feature.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...