Post by santura » Mon May 09, 2016 1:55 pm

I am testing gift vouchers at the moment and it's all working so far, except that the voucher is not emailed to the recipient when payment is complete.

Any ideas?

Using version 2.0.2.0

I have the same complete status set in PP express and admin settings and there are not relevant errors in the error log.

New member

Posts

Joined
Fri Jun 14, 2013 8:33 pm

Post by SherpaDesign » Thu Aug 17, 2017 7:59 am

I have the same issue. Payment statuses are set up correctly but the voucher is not sent automatically...

Has anyone got a solution to this?

Newbie

Posts

Joined
Fri Sep 07, 2012 9:57 am

Post by SherpaDesign » Fri Aug 18, 2017 8:56 am

For 2.0.3.1 the solution was to edit /catalog/model/checkout/order.php line 853.
Replace:

Code: Select all

if (in_array($order_info['order_status_id'], $this->config->get('config_complete_status'))) {
With:

Code: Select all

if (in_array($order_status_id, $this->config->get('config_complete_status'))) {
This solution was taken from: https://github.com/opencart/opencart/pu ... bd72d6e797

Newbie

Posts

Joined
Fri Sep 07, 2012 9:57 am
Who is online

Users browsing this forum: No registered users and 40 guests