Forums

Incorporating a payment gateway

rob_hawthorn 23 Jul, 2009
Hi guys,
I'm trying to incorporate a payment gateway into the form I've created:
http://cloudwf.pointzeromedia.com/cloudwf/index.php?option=com_chronocontact&Itemid=66

World pay have given me a form:
http://cloudwf.pointzeromedia.com/cloudwf/index.php?option=com_chronocontact&chronoformname=Paymentgateway
With the relevant payment gateway info

My question is how do combine the forms into one?
The form (obviously) has two actions, is it possible to somehow combine them?

Thanks very much in advance, any help is greatly appreciated.

Regards,
Rob
GreyHead 23 Jul, 2009
Hi Rob,

There's presumably a URL that goes with the WorldPay Code.

The way I'd do this is to use the ReDirect Plugin (see the left hand column in the Forms Manager) with your input form

The parameters for the Plugin are in two block - field names at the top for variabel values and a text area t the bottom for fixed values. You'll want something like
instId=XXXXX
cartId=Cloud Computing World Forum 1 day conference
amount=200
currency=GBP
in there -the CartID may need to be urlencoded though.

Then add the WorldPay URL on the other plugin tab and test. ChronoForms should process the form as usual - emails, database, etc. - then redirect to WorldPay for the user to pay. You may want to add a WorldPay redirect URL somehwere to bring them back to your site.

Bob
GreyHead 23 Jul, 2009
Hi Rob,

Max is actively discussing with JED exactly how they will (or won't) list ChronoForms after the change in JED rules on July 1st.

Bob
This topic is locked and no more replies can be posted.