Post by drebosio » Fri Mar 10, 2017 2:40 am

So we setup our payment gateway to use Authorize.net and on the frontend we changed the message to reflect and image instead of text
Image

but when we get our confirmation email, it's showing a broken link img.

Any idea why?
Image

As a workaround, can we make the confirmation reflect text BUT still have the image on the checkout page?

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am

Post by opencartmart » Fri Mar 10, 2017 12:41 pm

My assumption it is due to payment code chars limit on database. Payment method chars limit is 128. So it worth a try increasing char limit to 256.
Table name oc_order and field name payment_method

Attachments

payment.png

Payment Method Chars limit in order table - payment.png (170.79 KiB) Viewed 3364 times


XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by irssoft » Fri Mar 10, 2017 2:06 pm

drebosio wrote:
Fri Mar 10, 2017 2:40 am
So we setup our payment gateway to use Authorize.net and on the frontend we changed the message to reflect and image instead of text
Image

but when we get our confirmation email, it's showing a broken link img.

Any idea why?
Image

As a workaround, can we make the confirmation reflect text BUT still have the image on the checkout page?
Hi,

There is chance, if any relative URL given in image path like "images/payment.jpg". Make sure you given the full absolute path of the image to avoid broken images.

Regards,
IRS SOFTWARE
P.S. If you have any Opencart related queries, please contact us on opencartsupport@irssoft.com


Newbie

Posts

Joined
Wed Mar 04, 2015 1:37 pm
Location - Chennai, India

Post by opencartmart » Fri Mar 10, 2017 2:58 pm

There is chance, if any relative URL given in image path like "images/payment.jpg". Make sure you given the full absolute path of the image to avoid broken images.
Thumbs up! Better chance to this happens

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by drebosio » Fri Mar 17, 2017 5:39 am

irssoft wrote:
Fri Mar 10, 2017 2:06 pm
drebosio wrote:
Fri Mar 10, 2017 2:40 am
So we setup our payment gateway to use Authorize.net and on the frontend we changed the message to reflect and image instead of text
Image

but when we get our confirmation email, it's showing a broken link img.

Any idea why?
Image

As a workaround, can we make the confirmation reflect text BUT still have the image on the checkout page?
Hi,

There is chance, if any relative URL given in image path like "images/payment.jpg". Make sure you given the full absolute path of the image to avoid broken images.
Yep this was the cause, i looked in the php src code and it had the file path with "../images/etc..." changed it to have the correct url and it's working now :) ty all!

User avatar
New member

Posts

Joined
Sat Jan 21, 2017 3:51 am
Who is online

Users browsing this forum: No registered users and 450 guests