1 reply [Last post]
dolittle's picture
Offline
Joined: 01/30/2008
Juice: 111
Was this information Helpful?

Hi,

In my country there is a payment gateway which should be standard and similar to paypal.

I want to integrate it with ubercart and I'll appreciate if someone can tell me which module is close to what I'm looking for and will be easy to modify.

I rather modify one of the core modules if it is suited.

The checkout process:

1. A button on my website should direct the user to the service "authentication page"
https//www.service.com/PO/POLogin.aspx

with the parameters:
PaId - My business id code
OdId - the current deal id code

example:
https//www.service.com/PO/POLogin.aspx?paId=DMBG-T534-4784AAF&Odid=12345

2. The service will direct the user back to my website to a predefined address

OpDesc - define the requested operation. In this case request for deal info.

example:
http://www.MyShop.co.il/getDetailes.php?PaId=DMBFG-T34-4784-AAF&OdId=123...

3. MyShop should confirm OdId and PaId and reply with an xml:

<?xml version="1.0" encoding="windows-1255"?>

OrderId - MyShop generated order Id
OrderDesc - Text describing the deal
OrderTotal - Total sum
NumMaxPayments - maximum payments
JumpToOnSuccess_URL - A URL page on MYShop
IsTest - Set to 1 for testing

4. The service will replay with something like this:
http://www.MyShop.co.il/confirmation.php?PaId=hjgdk-jhgjjmhn-mnvnmmbvnv&
OdId=12345&OrderId=3443&OpDesc=ReqStatus&Status=success&ReferenceId=12
311142&NumOfPayments=30&CCName= %20&CC4Digs=1234

5. MyShop returns:
<?xml version="1.0" encoding="windows-1255"?>

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: help on new payment gateway

There isn't really a good module for you to start with right away. The PayPal module has some similar logic for PayPal Express Checkout. If you can take the rest of the code out of that PayPal module for the other services, that might be your best bet.