Share » Forums » Extensions » Getting SimplePayment Methods work on...

Getting SimplePayment Methods work on 4.1

Getting SimplePayment Methods work on 4.1

Tuesday 02 December 2008 4:26:10 am - 2 replies

Modified on Tuesday 02 December 2008 4:27:04 am by florian arbatowski

Author Message

Pascal Specht

Tuesday 02 December 2008 5:53:43 am

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>

florian arbatowski

Wednesday 03 December 2008 3:03:23 am

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;

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

36 542 Users on board!

Forums menu