Jump to content

Converting a payment module for prestashop


Recommended Posts

hello every body
i have a online payment module that is used for oscommerce.
i want to convert this module for using in prestashop. can anybody help me please? (also i haven't any acknowledgment about php or ... but know a little about creating prestashop modules)
these are the files for this module:

sb24.php

sb+.php

Share this post


Link to post
Share on other sites

You should first review the PrestaShop payment module :) You have to start it.
example

<?php

class modulname extends PaymentModule
{


}

?>


example 2
order to record

<?php

$modulname = new modulname();

$modulname->validateOrder($cart->id,  _PS_OS_PAYMENT_, $total, $modulname->displayName, NULL, NULL,     $currency->id);
$order = new Order($modulname->currentOrder);
?>


You can review the PayPal module as an example
Regards

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More