eZ Community » Forums » Extensions » Getting SimplePayment Methods work on...
expandshrink

Getting SimplePayment Methods work on 4.1

Getting SimplePayment Methods work on 4.1

Tuesday 02 December 2008 1:26:10 pm - 2 replies

Hello,

i want to use simple payment methods from the download page under Workflows

I download it and added it to the extensions.

But i can't choose it in the Worklfow System, also a Worklfow event for it is not visible.

I need simple Payment, called "Bankeinzug" in German.

Ist there any Tutorial to create a payment gateway by myself

Modified on Tuesday 02 December 2008 1:27:04 pm by florian arbatowski

Tuesday 02 December 2008 2:53:43 pm

Hi Florian,

Actually, the Workflows may just not appear before clearing the caches. That happened to me once. As far as I know there are no tutorials on payment gateways. One way of doing Bankeinzug may just be to take any of the existing payment gateways like SIPS, and simulate a fake 'OK' callback from the 'Bank'... That worked for me when I wrote a cheque payment gateway. Unfortunately I made so many business specific changes on that one that I can't post it as a contribution. But first have a look at the caches, that may just be the problem.

Hope this helps,
</Pascal>

Wednesday 03 December 2008 12:03:23 pm

Hi,
i solved the Problem by googling and anaylzing the Kernel Workflow Events.
I figured out that in 3.7 addon settings doesn't and with php for ex. workow.ini.append now it is site.ini.append.php

And in older version 3.7 you use

eZWorkflowEventType::registerType( EZ_WORKFLOW_TYPE_PAYMENTMETHODS_ID, "simplepaytype" );

in 4.x you use:

eZWorkflowEventType::registerEventType( EZ_WORKFLOW_TYPE_PAYMENTMETHODS_ID, "simplepaytype" );

I found more old behaviours

return EZ_WORKFLOW_TYPE_STATUS_FETCH_TEMPLATE_REPEAT;
in 4.x to
return eZWorkflowType::STATUS_FETCH_TEMPLATE_REPEAT;

Modified on Wednesday 03 December 2008 1:48:46 pm by florian arbatowski

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from