Question : OSCommerce - Order Editor Module - Create order through Admin

Buenos Dias Amigos,

I'm troubleshooting an oscommerce website which utilizes a module called: Order Editor.  To be matter of fact, the module is actually a derivative of the original Order Editor: http://addons.oscommerce.com/info/6370

On to my question/challenge.  Our sales team has the ability to log-in to admin area and create an order.  Order Editor actually detects all the payment modules installed in the cart and utilizes them in the back-end for processing payments.  We have several payments options, the problem lays with the PayPal options.  When you select any of the PayPal payment methods, nothing occurs after you create your order.  In other words, you are not taken to PayPal or PayPal is not invoked to "process the payment".

If anyone has any experience with this particular module and can shed some light, I truly need it.

Really appreciate it.

Adios Amigos!

Answer : OSCommerce - Order Editor Module - Create order through Admin

Remove (INT) from (INT)$order_id (i.e. global search and replace, change to "$order_id" (no quotes))
\catalog\admin\includes\functions\general.php
\catalog\admin\includes\classes\order.php


Remove (INT) from (INT)$oID (i.e. global search and replace, change to "$oID" (no quotes)):
\catalog\admin\invoice.php
\catalog\admin\orders.php
\catalog\admin\orders_status.php
\catalog\admin\packingslip.php



\catalog\admin\edit_orders.php
\catalog\admin\edit_orders_add_product.php
\catalog\admin\edit_orders_ajax.php

For these files, remove all instances of (INT) from (INT)$oID (i.e. global search and replace, change to "$oID" (no quotes)).

Also this problem is specifically with the paypal system. If you change the module for payflow pro it will actually take care of the problem provided you switch the modules and forget about that version.
Random Solutions  
 
programming4us programming4us