Support

Home Forums Event Espresso Premium authorize.net accept currency in i-frame incorrect

authorize.net accept currency in i-frame incorrect

Posted: November 23, 2019 at 5:24 am


whr-admin

November 23, 2019 at 5:24 am

I’ve been using Authorize.net AIM OK, but now want to move to Authorize.net Accept so the card details are in an i-frame. This works, but the currency shows as “$” now, and it should be “£”. The settings in EE and Authorize are still set to GBP as before. Any idea where is is pulling the USD from?


Tony

  • Support Staff

November 25, 2019 at 7:40 am

Hi there,

This is strange, I can’t find any options in the API to set a currency and we don’t set one on the request at all, so it should be using the values from your auth.net account.

I’ll do some digging into this and see what I can find, in the meantime you can remove the summary section from the iframe to remove the $ symbol with a snippet like this:

https://gist.github.com/Pebblo/c8500e12872738f1241556852621c723

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


whr-admin

November 25, 2019 at 8:50 am

That’s great, and works so thank you for that.

On a related issue, the i-frame is displaying too narrow for the form, and is unusable on mobile

I-frame

Can you see why this is?


Tony

  • Support Staff

November 26, 2019 at 7:48 am

It’s happening because Auth.net Accept loads in an iFrame, you can try adding some CSS like this:

#authnet_accept_iframe {
    min-width: 650px;
}
.accept-iframe-container {
    width: 100%;
    min-width: 800px;
    max-width: 1000px;
}

Add that to Appearance -> Customize -> Additional CSS


whr-admin

November 26, 2019 at 3:23 pm

Great, thanks

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  whr-admin 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!