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 magento.stackexchange.com, 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 community@magento.com.

Magento Forum

Payment method - new module tutorial
 
Sam Boson
Jr. Member
 
Avatar
Total Posts:  24
Joined:  2007-11-15
 

Hi I’ve tried walking through the tutorial in preparation for implementing a new payment block as the payment provider we are using don’t provide an API based structure, however I’m falling at the first hurdle.

Unlike a lot of the others here I do have the payment method showing up in the Admin section but it isn’t showing up on the frontend, any ideas? any questions?

I have created the NewPayment dir tree under Mage, and added the module to first local.xml and then after reading the forum config.xml and had no luck under either.

The payment method is set for all checkouts, pending and order 9.

Regards,

Sam

 
Magento Community Magento Community
Magento Community
Magento Community
 
directzi
Jr. Member
 
Total Posts:  8
Joined:  2007-11-22
 

Is there anyway to grab the CVV code?

 
Magento Community Magento Community
Magento Community
Magento Community
 
dessol
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2007-12-05
 

Does anyone have a working Protx module?

 
Magento Community Magento Community
Magento Community
Magento Community
 
gremlin
Jr. Member
 
Total Posts:  4
Joined:  2007-12-11
 

Hi guys.
After deploying the NewPayment.zip in the /magento, when i go in the admin/configuration/payment_methods I get the output below. Any of you had it so far? Any fixes?
Tnx

Fatal error: Call to a member function toOptionArray() on a non-object in C:\xamp\htdocs\magento\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php on line 126

 
Magento Community Magento Community
Magento Community
Magento Community
 
gremlin
Jr. Member
 
Total Posts:  4
Joined:  2007-12-11
 

smile found the problem:
in the install sql should be

'source_model'=>'adminhtml/system_config_source_yesno'
 
Magento Community Magento Community
Magento Community
Magento Community
 
Neuner
Jr. Member
 
Total Posts:  11
Joined:  2007-12-27
 

I have the same problem, using the latest Magento version (0.6.14100) and PHP 5.2.3.

I have tried with jsperri´s NewPayment.zip as well, but the problem persists.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Neuner
Jr. Member
 
Total Posts:  11
Joined:  2007-12-27
 

Works for me as well now. Had to do a new fresh Magento-installation (same version) and boom… smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
gremlin
Jr. Member
 
Total Posts:  4
Joined:  2007-12-11
 

pffff.... i ran out of walls to break my head onto.
Has anybody managed to POST data to a payment gateway in the checkout procedure, and present the client with the screen for the cc details? so far, as I managed to learn, it only goes by cURL and authorizes. What I need to do is POST the order data to an URL, and then come back based on the gateway return function.
Anybody?…

 
Magento Community Magento Community
Magento Community
Magento Community
 
FireIslandMan
Jr. Member
 
Total Posts:  10
Joined:  2007-12-20
 
gremlin - 31 December 2007 01:55 AM

pffff.... i ran out of walls to break my head onto.
Has anybody managed to POST data to a payment gateway in the checkout procedure, and present the client with the screen for the cc details? so far, as I managed to learn, it only goes by cURL and authorizes. What I need to do is POST the order data to an URL, and then come back based on the gateway return function.
Anybody?…

SAME PROBLEM HERE WITH AUTHORIZE.NET, ANYBODY GET IT TO WORK?
http://www.magentocommerce.com/boards/viewthread/834/

 
Magento Community Magento Community
Magento Community
Magento Community
 
martinkaiser
Jr. Member
 
Total Posts:  7
Joined:  2008-01-10
 

Hi!

I have got v0.7.14800 and tried jsperries ZIP and I almost tried everything but the new module is not showing up in the admin section.
In the tables core_config_data, core_config_field and core_resource are all entries made, so setup worked but it is not showing up.

Anyone has an idea?

Thank, Best Rgds,
Martin

 
Magento Community Magento Community
Magento Community
Magento Community
 
gremlin
Jr. Member
 
Total Posts:  4
Joined:  2007-12-11
 

i haven’t played with the new release, but i know in 0.6x there was an xml that that had the info for the modules
see here:

http://www.magentocommerce.com/boards/viewthread/832/P30/

 
Magento Community Magento Community
Magento Community
Magento Community
 
martinkaiser
Jr. Member
 
Total Posts:  7
Joined:  2008-01-10
 

Yeah, I already added the module in the file app/etc/local.xml

Still does not work

 
Magento Community Magento Community
Magento Community
Magento Community
 
derrick
Jr. Member
 
Total Posts:  1
Joined:  2008-01-12
 

I haven’t been able to get this working with the latest release either.

If time permits could someone please update the wiki page to reflect the Magento changes since it was written?

 
Magento Community Magento Community
Magento Community
Magento Community
 
martinkaiser
Jr. Member
 
Total Posts:  7
Joined:  2008-01-10
 

I got it working now but using a different approach - My configuration parameters are not in the sql but in config.xml and system.xml following the core modules examples.

Then at least I got the configuration parameters of my new module in Configuration->Payment->…
But then still the payment information in the checkout process was empty.

In my case the rootcause has been a missing DB entry in core_config_data the entry payment/methodname/module was missing (content ‘modulename/methodname’).

Now everything is working.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gcoderre
Jr. Member
 
Total Posts:  12
Joined:  2007-08-31
Montreal, Quebec, Canada
 

Funny thing. I’m using 0.7.14800 and I tried to install the tutorial zipped files.

The files are in the right place (app/code/local/Mage/) and the following config has been added to app/etc/local.xml

<modules>
   <
Mage_HSBCCPI>
      <
active>true</active>
      <
codePool>local</codePool>
   </
Mage_HSBCCPI>
</
modules>

I can see the new module inside the admin panel under the “Advanced” tab, but not under “Payment Methods”. Fields were added to the db table “core_config_fields”, but not to “core_config_data”.

Any idea?

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