do you use firefox browser? and for firefox the plugin firebug? with these plugin you can see the responce code of the ajax which is used in onepage checkout.
If this message pops up there is smth wrong with the return of the ajax request. maybe a excetion was thrown.
And once more, iv added my paymentmodule for Credit Card to this post, take a look at it.
do you use firefox browser? and for firefox the plugin firebug? with these plugin you can see the responce code of the ajax which is used in onepage checkout.
If this message pops up there is smth wrong with the return of the ajax request. maybe a excetion was thrown.
And once more, iv added my paymentmodule for Credit Card to this post, take a look at it.
Hi again. Installed Firebug, get a similar response as to before you fixed it last time:
but this module you have installed is only a copy of existing authorizednet module which is standard in magento, only the name has changed and the url for request. Or is
protx the same in uk as authorizenet in usa? dont think so. you have to customize the code. Instead it will not authorize succesfull against protx.
Change code of Model Protx.php around line 225 from:
$request = Mage::getModel('protx_request')
to
$request = Mage::getModel('protx/protx_request')
Change code of Model Protx.php around line 317 from
$result = Mage::getModel('protx_result')
to
$result = Mage::getModel('protx/protx_result')
But as told, i dont think that this is functional protx module
but this module you have installed is only a copy of existing authorizednet module which is standard in magento, only the name has changed and the url for request. Or is
protx the same in uk as authorizenet in usa? dont think so. you have to customize the code. Instead it will not authorize succesfull against protx.
Thanks once again. Changed the code, different error but still an error! I don’t know if it’s fully working code until the author responds I suppose. Was just hopeful that he was nearly there.
Thanks for your help, I’ll abandon the project for today and hopefully get further next week, as I can’t get my head around this at all…
[m] is correct.. it only labled it protx.. cause im working on one. It was more or less a template so others could build off it.. i found the tutorial to be confusing and it took me several hours to figure out to just get the module to show up in magento let alone work. So i offered that template for others who are trying to build any type of payment module not just protx. Althought when i finish mine i will let you know redpen
[m] is correct.. it only labled it protx.. cause im working on one. It was more or less a template so others could build off it.. i found the tutorial to be confusing and it took me several hours to figure out to just get the module to show up in magento let alone work. So i offered that template for others who are trying to build any type of payment module not just protx. Althought when i finish mine i will let you know redpen
after customer order check out by my module, i goto admin, create invoice, but i don’t see credit memo. Please help me about refund (sorry for my bad English)
this is my config.xml
<config>
<modules>
<Mage_MZHeidelpay>
<version>0.0.1</version>
<depends>
<Mage_Sales />
</depends>
</Mage_MZHeidelpay>
</modules>
<global>
<models>
<mzheidelpay>
<class>Mage_MZHeidelpay_Model</class>
<resourceModel>mzheidelpay_mysql4</resourceModel>
</mzheidelpay>
<mzheidelpay_mysql4>
<class>Mage_MZHeidelpay_Model_Mysql4</class>
<entities>
<mzheidelpay_debug><table>mzheidelpay_mzheidelpay_debug</table></mzheidelpay_debug>
</entities>
</mzheidelpay_mysql4>
</models>
<resources>
<mzheidelpay_setup>
<setup>
<module>Mage_MZHeidelpay</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</mzheidelpay_setup>
<mzheidelpay_write>
<connection>
<use>core_write</use>
</connection>
</mzheidelpay_write>
<mzheidelpay_read>
<connection>
<use>core_read</use>
</connection>
</mzheidelpay_read>
</resources>
</global>
<default>
<payment>
<!-- liste des differentes sous methodes de paiement -->
<mzheidelpay>
<!-- valeurs par defaut des champs dans la partie admin -->
<active>1</active> <!-- mode de paiement enabled ou disabled?-->
<debug>0</debug>
<cctypes>AE,VI,MC</cctypes>
<cgi_url>https://secure.authorize.net/gateway/transact.dll</cgi_url>
<model>mzheidelpay/mzheidelpay</model>
<order_status>1</order_status>
<payment_action>authorize</payment_action>
<merchant_id>MerchantID</merchant_id>
<title>SecurePayTech</title>
<allowspecific>0</allowspecific>
</mzheidelpay>
Hopeing to save some time =)
We need a very basic payment method, it’s actually the “Check / Money order” option with one addon, an extra charge for the customer.
Is it possible to modify “Check / Money order” or duplicate it with this addon? Does anyone have this ready, can create it or can guide me in the right direction I would be so ever greatful. Going through the examples and the hassle with external API seems unnesassary.
Hi, I have successfully created a payment method for at danish gateway and I have edited the config.xml so more card types can be selected. But where do I add validation of the new cards? Any hints?