xoops forums

Forum Index


Board index » All Posts (wishcraft)




wishcraft

Module Developer
Posted on: 2007/7/6 20:57
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3710
Since: 2007/5/18
#1341

Payment Gateway Solution in Xoops

Well I have been using XOOPS for sometime now, almost 3 years and I have just written my first module. It is called 'makepayment' and it took me a little on 12 hours to finish in it early alpha phase.

I have various websites as do many other people but the one thing I found was billing some of them was a headache (mainly cause of the adult content in one) couldn't use paypal or moneybooker or any others.

So I am starting to build a payment gateway solution. It i based in xoops, which i felt was as usual the practial way to building a website fast.

The website is www.paythem.biz, I am still organising the payment solutions with a bank, but I might as well get the site out of the way. I am using a theme from www.xoopdesigns.com which I will eventually get a new look.

The code for the site will eventually be under an SSL umbrella, but this is a bit what the script looks like to use it, the payment system is completed so far, it assign a ticket to every request at the site.

I am also going to have a cron that triggers other websites when the payment come through on EFT or bpay. I am starting small with the australian market first seeming that is where I am from:

Now to some HTML

<form action="http://www.paythem.biz/modules/makepayment/?op=checkin&uid=cej" method="post" name="payment" id="payment">
  <
input type="submit" name="Submit" value="Submit Via Post">
  <
input type="hidden" name="primarycurrency" value="AUD">
  <
input type="hidden" name="payee_emailaddy" value="lsd25@hotmail.com">
  <
input type="hidden" name="trigger" value="http://www.paythem.biz/trigger.php?transactionid=%transid%&trigger_pass=%trigger_pass%">
  <
input type="hidden" name="return" value="http://www.paythem.biz/return.php?transactionid=%transid%&trigger_pass=%trigger_pass%">
  <
input type="hidden" name="cancel" value="http://www.paythem.biz">
  <!--
Items Row 1-->
  <
input type="hidden" name="itemname_1" value="Test Product 1">
  <
input type="hidden" name="quanity_1" value="1">
  <
input type="hidden" name="unitprice_1" value="19.95">
  <
input type="hidden" name="currency_1" value="AUD">
  <!--
Items Row 2-->
  <
input type="hidden" name="itemname_2" value="Test Product 2">
  <
input type="hidden" name="quanity_2" value="3">
  <
input type="hidden" name="unitprice_2" value="9.95">
  <
input type="hidden" name="currency_2" value="AUD">
  <!--
Items Row 3-->
  <
input type="hidden" name="itemname_3" value="Test Product 3">
  <
input type="hidden" name="quanity_3" value="10">
  <
input type="hidden" name="unitprice_3" value="1.95">
  <
input type="hidden" name="currency_3" value="AUD">

</
form>


In this example you find the basic script in html to fire my payment solution gateway. I will be looking for beta tester eventually to iron out the bugs, if you want to sign up please do (the site is off at the moment thanks to trusty planetdomain.com.

I am convinced if there was to be a ruby release of XOOPS it still wouldn't be as fast developing under php.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies


wishcraft

Module Developer
Posted on: 2007/6/8 20:44
wishcraft
wishcraft (Show more)
Module Developer
Posts: 3710
Since: 2007/5/18
#1342

Ajax - will this be in later version of xoops ?

Just a quick question, i was wondering if XOOPS if planning on releasing an Ajax version of it's kernel. I think this would be beneficial to the project and give it greater leverage against other CMS.

I was recently working at www.myhome.com.au which uses a little bit of ajax and I would say that the kernel for it with large XML parsing engine for various browser was an interesting set of code.

If anyone can tell me I would love to know, If you are wonderinf what ajax is, it is all that lovely html that updates without the page being refreshed.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/SimonXaies
github.com/Chronolabs-Cooperative
facebook.com/SimonSXaies



TopTop
« 1 ... 132 133 134 (135)