1
wishcraft
X-Payment

well I have come up with the form code for xpayment, if you post this form to xpayment as exampled::

le="color: #000000"><?php <form action="/2.5.0/modules/xpayment/index.php" method="post"> <!-- This is the header of the invoice --> <input type="hidden" name="op" value="createinvoice"> <input type="hidden" name="drawnfor" value="IP Site"> <input type="hidden" name="drawnto" value="IP Site"> <input type="hidden" name="drawnto_email" value="simon@chronolabs.coop"> <input type="hidden" name="currency" value="AUD"> <input type="hidden" name="key" value="1a79a4d60de6718e8e5b326e338ae533"> <!-- This is the item trail of the invoice --> <!-- Example Item A --> <input type="hidden" name="item[A][cat]" value="EXPITEMA"> <input type="hidden" name="item[A][name]" value="Example Item A"> <input type="hidden" name="item[A][amount]" value="0.02"> <input type="hidden" name="item[A][quantity]" value="2"> <!-- Example Item B --> <input type="hidden" name="item[B][cat]" value="EXPITEMB"> <input type="hidden" name="item[B][name]" value="Example Item B"> <input type="hidden" name="item[B][amount]" value="0.01"> <input type="hidden" name="item[B][quantity]" value="1"> <!-- This is the footer of the invoice --> <input type="hidden" name="return" value="http://127.0.0.1/2.5.0/modules/xpayment/return.php"> <input type="hidden" name="cancel" value="http://127.0.0.1/2.5.0/modules/xpayment/cancel.php"> <input type="hidden" name="ipn" value="http://127.0.0.1/2.5.0/modules/xpayment/ipn.php"> <input type="submit" name='submit' value="Create An Invoice" /> </form>


It will create an invoice.. At least in beyond 1.05 - Until payment gateways are written there is no way currently to process invoices in xpayment 1.05 but you can follow the development here...
vCard (*.vcf): Dr. Simon Antony Roberts.vcf
Follow, Like & Read:-

x.com/EmpressFX
facebook.com/DrAntonyRoberts

2
btesec
Re: X-Payment
  • 2011/1/14 15:14

  • btesec

  • Friend of XOOPS

  • Posts: 623

  • Since: 2007/2/20


Great news Wishcraft I will play with it and get back to you

3
wishcraft
Re: X-Payment

Resized Image
Xpayment 1.15 (alpha)
Modular Gateway and Modular Modules for Payment Transactions

Xpayment is a module that allows you to write customised payment gateways, as well as having modular hooking stratum in the module with a second plugin section for modules and responses to invoices. This is an early alpha, the admin hasn't be written yet.

Some of the current features include:
  • Plugin Gateway systems (Paypal Included)
  • Modular Plugin and Action hook
  • Easy Form Post from any module
  • Itemised invoicing
  • Multicurrency
  • Tax Itemisation


Remember this is an early alpha, we will have the admin done soon.

Download: xoops2.5_xpayment_1.15.zip
vCard (*.vcf): Dr. Simon Antony Roberts.vcf
Follow, Like & Read:-

x.com/EmpressFX
facebook.com/DrAntonyRoberts

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits