PDA

View Full Version : Help with a payment gateway


Photoeye
14th of April 2005 (Thu), 09:17
Hello,

I have a little problem with the integration of a payment link in EE.
I use a payment gateway that provide me with the folllowing HTML
code for payments:

<form id="form1" action="https://secure.gateway.com/order/SOrder.aspx" method="post" >

<input type="hidden" name="MerchantID" value="0011">
<input type="hidden" name="DomainID" value="2274">
<input type="hidden" name="ProductID" value="7831">
<input type="hidden" name="OrderID" value="584562">

<button type="submit" name="Submit" ID="7777">Buy Now

</form>

Any ideas how can I integrate this code in EE? :(

I tried just to put it in box "FREE TEXTUAL INFO", but
it seems doesn't work.

Thank you in advance for any help!

MichaelChristopher
14th of April 2005 (Thu), 15:31
I solved it by using the Free Text field of the photo editor. I copy the text there and it appears under the art work on the image browser. Because of all the options available on our inventory, I found I couldn't use the EE commerce feature. See www.alliej.com (http://www.alliej.com).

BTW: I built a MS Access application (running locally, not online) that builds the buttons for me from its inventory database. I just cut and paste the link html from that application to the EE photo editor window.

Photoeye
15th of April 2005 (Fri), 04:09
I solved it by using the Free Text field of the photo editor. I copy the text there and it appears under the art work on the image browser.

I do the same, but I can't use a simple html link, I have to use a FORM,
that I posted above! :(

Pekka
15th of April 2005 (Fri), 04:52
You can place the form into templates (e.g. /templates/photo/default.php) as html.

If you want to make a form which is aware of photo name and id etc you'll have to use EE Commerce templates.

BTW: The form you have there looks bit odd for a photo order (is it?) because it has fixed product id and order id, it for computer retailer company, and it points to a server that does not exist. Are you sure that is the form you have to use?

Photoeye
15th of April 2005 (Fri), 05:09
BTW: The form you have there looks bit odd for a photo order (is it?) because it has fixed product id and order id, it for computer retailer company, and it points to a server that does not exist. Are you sure that is the form you have to use?
No, no ... I just put an example URL. I use EE for ART Gallery (hope you don't mind): :rolleyes:
http://mypaintings.info/gl/ .

Yes, I'm sure this is the form I have to use.

If you want to make a form which is aware of photo name and id etc you'll have to use EE Commerce templates.
Eah, obviously you're absolutely right. I must use the EE Commerce templates, but
how can I do it? Any manual or help? :rolleyes:

Each painting has its own Name and ID.

Thank you for the reply, Pekka!

Photoeye
15th of April 2005 (Fri), 07:43
If I use the template "shutterfly_C4P.php" to integrate the FORM above
which VARIABLES I must change? Can someone help with this?

Pekka
15th of April 2005 (Fri), 12:36
PM me details of what is exactly that you need to send in a form, i.e. all the items required (the form), and all the items that need to be different for each photo id (painting). Details of this should not be discussed in public for security reasons. It may be easy with existing templates, but it may need some additional work, too.

Photoeye
15th of April 2005 (Fri), 12:44
Thank you for the great support, Pekka! :)

I'll PM you the details now.

Photoeye
15th of April 2005 (Fri), 16:48
I just want to tell THANK YOU Pekka! :)

He did for me a GREAT e-commerce mod and I'm very happy
that a such helpful people still exist! :)
The mod really works perfectly, Pekka!

MANY, MANY Thanks for your AMAZING work!!! :D

Cary

CappuccinoDavid
24th of April 2005 (Sun), 09:53
Hey MichaelChristopher nice site...

UncleDoug
24th of April 2005 (Sun), 10:00
Hey MichaelChristopher nice site...

Second that!!!!!!!!

Great job!!! :D :D :D