@Kevin Pattison Moshe’s wiki is an essential guide to creating your own Payment Module. For a demo, look for Andrej BankPrepayment Module in Magento Connect. I was able to create a customized Payment Method using these. Good luck.
I created a new Payment Module using the tutorial. Works as described, but:
I want to create custom form fields in die Frontend, with which I can enter the Payment Information. Can anybody tell me how to configure a text field an label it for my Custom Payment Method?
Hey, @Kevin Pattison. I was having the same problem of the module not showing up in the Payment Methods section of the site, when trying to create a module based on the tutorial. After 2 days with no success, i decided to make that module, i mean, just copy and paste, and worked! Turned out that the name of folder inside the codepool (folder CompanyName on the example) NEEDS to start with a capital letter, as well as the module folder (folder NewModule in the example). Then when applying it on my customised module that was just based in the example (and not a exact copy), it also worked well… Yes, i’ve lost two days because of a single damn capital letter… Ces’t là vie…
In cc payment method when i click place order one alert box will come and its show the error msg like this(There was an error processing your order. Please contact us or try again later.) I used php codings that libfuncs.php3.redirecturl.php3,checkout.php3. In that what should i need to write extra coding to rectify error and get success result. In that Merchant_Id,Amount,Order_Id,Merchant_Param,Checksum,AuthDesc, need table name for this database, i want to get success message , can u send the successive process step by step.
Thanks for all ur posts. Im a newbie to magento and have few issues. I recently downloaded Sapegay paayment module (formerly PROTX) and it shows in admin panel. But I dunno if it manages the inventory itself when the transaction is done with Successful acknowledgment i.e updating product quantity et al in the databse after returning to the SUCCESS URL. I also tried to configure it on ma localhost and there is an entry VENDOR, please let me know that using this module does the user gets redirected to the sagepay site after add to cart action or he stays on our site.
Sorry to disturb much LOL .......
But I have one more issue, I installed Royalmail shipment module on ma localhost. However I came to know from Royallmail people that it works off the track i.e, there are statically fixed shipment charges inside module files and it adds them to net toal on checkout page. However Im scared that why does not it use their API and talk to Royalmail Server in realtime mode.
Can u plz let me know if it gets upgraded and gets latest rates et al.
It shows basic technics of creating a generic module and also some specific API for payment modules.
Let me know if there’s anything to clarify or improve
Thank you.
Hello,
I followed your tutorial.
But I dont understand how do I pass variable and its values (like some hidden variables ,field name as required for my payment gateway) while checkout etc.
Can you please shade a light on this?
If I try to use default code then I am getting msg saying “There was an error processing your order.Please try again”.
I will really appreciate if anyone could help me.
I’m having problems with my custom module. I have it running correctly in the configuration->advanced and in Payment Modules. No problems there. But it gives this error when I click the Checkout button.
config settings:
Company name: Tlgsoft
Module name: Ykbpos
I used community/Tlgsoft/Ykbpos/ folder
My class name in community/Tlgsoft/Ykbpos/Model/Ykbpos.php:
class Tlgsoft_Ykbpos_Model_Ykbpos extends Mage_Payment_Model_Method_Abstract
Why doesn’t it look for my module in my folder but in “Mage/” folder?
I went through all the steps in the tutorial and sucesfully got to point when see the module in backend. But when trying to use it in frontend for payment I am unable to see/use it. Anybody could help me please? I am using Magento ver. 1.3.2.2. thanks.