Authorize.net Direct Post Method (DPM)?
Hikashop version: HikaShop Business: 2.3.5
HI! I know this is a REALLY old thread, but I wanted to find out where the Authorize.net DPM development currently stands? Its shown as an API option in the plugin but selecting the DPM option does not appear to use the DPM method. It actually seems to redirect to the SIM method.
Thanks for any insight you can provide!
-Bridgette
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
Did you look at the plugin Authorize in the HikaShop payment plugins interface ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Yes, sorry for not being clearer. I was referring to the "HikaShop Authorize.net payment plugin". I see the DPM method as an API option in the "HikaShop Authorize.net payment plugin" but when DPM is selected the frontend result is a redirect to an Authorize.net-hosted payment form.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
DPM has been added in May 2012.
In DPM mode, the plugin adds an iframe in his "end" page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
There is no configuration to do in the checkout.
The "authorize_end" view starts with this code
So unless you modified or create an override for the view, the iframe should be displayed.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
I'll dig into the code and figure out why it isn't working and let you know what I find.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
I changed this:
To this:
And, now the end step is not redirecting, but instead its correctly trying to load the iframe on the page. The issue now is that the iframe is empty.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
Just for the notice ; you made an assignation in a IF instead of testing the variable.
So, your modification might put an iframe but I don't think that it is the most appropriate fix.
About the empty iframe ; you should use the browser inspector in order to check the iframe size and the iframe target link.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Thank you for your response. Ok, ok bad example. My point is that this isn't resolving to true:
- @$this->payment_params->iframe.
I do see in authorize.php that if the api is not == 'aim' then iframe is set to 1, but in authorize_end its not 'true'.
Also, I did actually review the iframe code via my browser inspector (ie, firebug). The target URL looks correct, but the form is not populated in the body of the frame.
target URL:
iframe size: 660 x 1000
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We just fixed an issue regarding the Authorize.net DPM mode, you should edit the "plugins\hikashoppayment\authorize\autorize.php" file and change these lines :
Please Log in or Create an account to join the conversation.
We will apply these changes and report back!
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.