Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

HEEEELP!!! Simple question, but no answers found
Total Posts:  68
Joined:  2008-03-09


I’m trying to write a payment module based on the skeleton one in the wiki.

But, that one is not a very good example.  Days of searching through the Forums have produced no useful results.  No one’s answered my question yet.  Surely someone knows the answer?

I need an example of a payment module that redirects the user to another website and doesn’t prompt you for the credit card detail like it does by default.  How do I change it so that the credit card block or form is not shown and instead some text to indicate the user will be redirected instead.

Ideally I’d like a complete example.  The ones that do exist I don’t understand or are built in a peculiar fashion.
I mean peculiar because it’s really obvious that it’s been hacked to work without proper understanding of what the various bits do.
Also, what do all these things mean in plain english please?

protected $_isGateway = true; // what?
protected $_canAuthorize = true; // what does that mean ?
protected $_canCapture = true; // capture what ?
protected $_canCapturePartial = false; // ???
protected $_canUseInternal = true; // internal what?
protected $_canUseCheckout = true; // sorry? when would you not want that to be true? what does that mean then?

What is the effect of setting them true or false and how are they used ?

The payment method is actually called PxPay

If someone could help I’d be incredibly greatful, as would the whole of New Zealand looking to use Magento as their eCommerce solution. DPS is the main online payment group in NZ so it would be an enormous benefit to the community.

I’ve attached what i have so far… I’m not sure whether I should add

to the config.xml if thats right then how do I link this all up with my own block?

Also, why does the example use the name “Mage” everywhere… what do I do to change it… the undocumented XML structure of these files is hugely confusing IMHO.

File Attachments  (File Size: 3KB - Downloads: 56)
Magento Community Magento Community
Magento Community
Magento Community
Jr. Member
Total Posts:  18
Joined:  2007-09-02

Hi Core,

Did you have any luck sorting this out?
Im in desperate need to getting PXPAY up and running ASAP.

Would be great if you share whatever you’ve got.


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top