Bixie / Zoolander-ZOOcart-iDEAL

Payment method iDEAL for Zoolanders ZOOcart
0 stars 1 forks source link

Sisow - A fatal error has occured. #6

Closed milos-aleksic closed 9 years ago

milos-aleksic commented 9 years ago

It seems I'm unable to configure the checkout to work as expected. This is what I did:

  1. Moved ideal-sisow folder from ideal/idealcheckout/gateways/disabled/ to ideal/idealcheckout/gateways/
  2. Selected the gateway in plugin params for: Type iDEAL param
  3. Set the provided credentials in params (see attached), I tried different possibilities I saw for other payments, but always the message is the same, it seems like I'm not reaching this point...

I constantly get a A fatal error has occured. message, and if I check the log from /plugins/zoocart_payment/ideal/idealcheckout/temp/ I see the following message:

TEXT: ERROR: Cannot load gateway file "".
FILE: /plugins/zoocart_payment/ideal/idealcheckout/includes/init.php
LINE: 217

Could you please give me some instructions on how I could debug it further? If you are familiarized with this behavior or I clearly did something wrong would appreciate if you could provide me with instructions on how to fix it.

Thanks in advance

glasscase administration plugin manager zoocart ideal payment

malles commented 9 years ago

Hi, There are some steps to convert a gateway to be used in the plugin. Best way is to check how others are done: https://github.com/Bixie/Zoolander-ZOOcart-iDEAL/commit/91dbaf357bf8a69c250fe24cf4015ed6e419000a You get the fatal error because the config is not read by the gateway. The config.xml has to be replaced by a config.json that couples the config fields with the joomla-plugin fields.

malles commented 9 years ago

Hi Milos, I started the conversion of Sisow. https://github.com/Bixie/Zoolander-ZOOcart-iDEAL/commit/00757ca52c0cf5ebc7e0acb12e9a5d360f203762 I just did the basics now, but I can't really test any further without test-credentials. Can you provide a test-account for Sisow? You can test yourself by downloading and installing the develop branche

malles commented 9 years ago

I tested the method, and it seems fine. I can't test the push-url, since I develop on my localhost. Please test the develop version.

malles commented 9 years ago

Hi Milos, Can you confirm this gateway working correctly? If so, it could be merged into master.

milos-aleksic commented 9 years ago

Yes Matthijs, sorry.

We were not able to go live yet, but all tests are positive. I think you can merge it without problems. Will let you know if due to any reason something changes.

Thanks a lot!

malles commented 9 years ago

Great, thanks!