Post by lipps199 » Wed Sep 02, 2015 1:59 am

I need to send the order number to PayPal when the order is placed. There is no way for our accounting to reference the order within our ERP without the order number.

Is there a way to do this as its very important.

Active Member

Posts

Joined
Tue Nov 27, 2012 12:01 am

Post by grgr » Wed Sep 02, 2015 2:11 am

It is already sent, you may need to be a bit clearer with your requirements and which paypal version you're using.

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by lipps199 » Wed Sep 02, 2015 2:22 am

grgr wrote:It is already sent, you may need to be a bit clearer with your requirements and which paypal version you're using.

I am using PayPal Express in OC version 1.5.6.1. I meant to include this in the OP.

You say its already sent but its nowhere to be found in the PalPay invoice. My only requirement that that the OC order number be sent to PayPal so we can properly account for orders.

Active Member

Posts

Joined
Tue Nov 27, 2012 12:01 am

Post by labeshops » Wed Sep 02, 2015 4:27 am

I don't use Paypal Express, but in standard and payments pro, if you click "details" for the payment, you should see under the payment amount and sales tax box "Order ID: xxxx - Buyers Name" with xxxx being the opencart order ID.

I also don't use Paypal invoices much, but know you can add a note to buyer in it so you could include the order ID there.

Running Opencart v3.0.3.2 with multi-stores from https://www.labeshops.com which has links to all my stores.

Image


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Thu Sep 03, 2015 6:33 am

In catalog/controller/payment/pp_express.php file,

find twice:

Code: Select all

'METHOD'                     => 'DoExpressCheckoutPayment',
add after both:

Code: Select all

'PAYMENTREQUEST_0_CUSTOM'                    => $order_id,
This should resolved the problem by seeing the order ID as a custom field on your Paypal account end.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 12 guests