Hi,
I am testing Gift Certificates in Opencart 2.3.0.2. The notification emails to the client and admin are sent but the Gift Certificate is not sent on successful purchase. To get the email sent I had to go to the Gift Voucher list in the admin section and sent it from there.
Is there a way the email to the recipient can be sent automatically on successful purchase/order of a Gift Certificate as opposed to the admin having to send it from the Gift Voucher list every time?
That was what I had assumed but its still not being sent. In System->Settings->Option, the default status when an order is processed is set to complete. When the Gift Certificate is successfully purchased, the status in the dashboard and orders list is complete. All other notification emails are sent but the Gift certificate email is not being sent to the recipient.
Hmm...not sure then. I haven't heard of any bugs in OpenCart 2.3 related to this, but it's certainly possible. Try searching the 2.3 bug topic and see if anyone has mentioned anything about this. If not, you might try uninstalling any mods if you've installed them, to see if those are affecting things. If it happens in a standard installation, then it's either an OpenCart bug, or a problem with mail on your server (which it doesn't sound like is the case).
I have found some mention of the same issue but in earlier versions of Opencart . Haven't found anything related to 2.3.0.2.
I'm using version 2.0.3.1 and also have no automatic sending of vouchers. Settings for all payment gateways are set to Complete status as are the store settings for both Order Status & Complete Order Status...
For 2.0.3.1 the solution was to edit /catalog/model/checkout/order.php line 853.
Replace:
With:
This solution was taken from: https://github.com/opencart/opencart/pu ... bd72d6e797
Replace:
Code: Select all
if (in_array($order_info['order_status_id'], $this->config->get('config_complete_status'))) {
Code: Select all
if (in_array($order_status_id, $this->config->get('config_complete_status'))) {
Who is online
Users browsing this forum: No registered users and 140 guests