Pass form data to payment page

skipintro 17 Feb, 2014
[attachment=0]Screen Shot 2014-02-17 at 9.25.13 pm.png[/attachment]Hello everyone,

I have a problem integrating with a payment gateway and after seeing a few related threads, still can't figure out how to work it.

I use a chronoform for users to fill in their particulars to register for a membership (not an online membership for access to the joomla site, just to be a member of an organisation for special privileges).

Upon submit, I need them redirected to the payment gateway to pay for it.

My issue is that a unique transaction ID (field name txnRef) needs to be passed to the gateway for it to work and this is the sample code they provided:

<form name="cart" method="post" action="https://thegatewaysgenericpaymentURL">
<input type="hidden" name="amount" value="xxx">
<input type="hidden" name="txnRef" value=" xxxxxxxxxx “>
<input type="hidden" name="mid" value=" xxxxxxxxxx “>
</form>

My question: Is there a way chronoforms can generate a unique random string of numbers to do so?

Right now, I have done it such that the user gets to see a summary of his data on the Thank You page and print that page to submit a cheque payment because I don't know how to do the redirect. See attached Events used.

Or if you have a better way to suggest, please help me out, thanks very much for your time.
GreyHead 17 Feb, 2014
HI skipintro,

Please see this FAQ for the unique ID,

Please see this FAQ for the redirection.

Bob
skipintro 17 Feb, 2014
Thanks Bob. I have purchased the tutorial and will look into it. Hope it's not too technical for a dummy like me.
This topic is locked and no more replies can be posted.