If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Payment Modules / Payment Module Developement Questions

Payment Module Developement Questions

Started by hansybear on 16 Mar 2012, 12:21 AM · Views: 560

Results 1 to 1 of 1
16 Mar 2012, 12:21 AM
#1
hansybear avatar

hansybear

New Zenner

Join Date:
Nov 2011
Posts:
3
Plugin Contributions:
0

Post #1 by hansybear

Hi!

I can't seem to find any documentation on writing payment-modules.
I've been working on one lately, but I'm stuck at this point:

I want to forward the user to the external terminal after he hits the "confirm order" button, then when he comes back, insert the order.

I can manage to get the order registered before the user goes to the terminal, but that will not do if the user cancels the payment. He will then have registered the order without payment and gets confirmation mail.

Is there any detailed explanation on the payment module functions (pre_confirmation_check(), confirmation(), process_button(), before_process(), after_process() etc.)?