Jump to content
Sign in to follow this  
orangebali

Alert pay module

Recommended Posts

Im looking for the Alertpay Gateway for Interspire Shopping Cart for my site.

If someone can make it i would apreciate it.

I can ftp it up to my site self so no installation necessary all i need is for someone to make this module so i can use it with my insterspire shopping cart.

 

So in detail:

If you have used interspire shopping cart before you will see all the payment gateways in the script such as paypal, google checkout etc..

What i want is to have a gateway for Alertpay (alertpay.com) so customers can buy instantly from my store and when they go through the checkout proceedure they can choose the option of paying by Alertpay.

Also would like to be told how long will it take as i need it as quickly as possible

Share this post


Link to post
Share on other sites

The module available to download: http://addons.oscommerce.com/info/4226


Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Share this post


Link to post
Share on other sites

I added this to the /catalog/includes/modules/payment/alertpay.php Barrys additions between

tep_draw_hidden_field('ap_purchasetype', 'Item') .

and

$hiddenBox .

 

to send user email, address, name, etc. I am still waiting to go live on alertpay but test mode looks good.

Sorry I posted it earlier in the wrong thread. this is for v2

---------------------------------------------------------

 

 

 

 

 

 

 

 

$hiddenBox .= tep_draw_hidden_field('ap_itemname'.$postfix, $order->products[$i]['name']) .

 

tep_draw_hidden_field('ap_amount'.$postfix, $order->products[$i]['price']) .

 

tep_draw_hidden_field('ap_quantity'.$postfix, $order->products[$i]['qty']);

 

}

 

 

 

$process_button_string = tep_draw_hidden_field('ap_merchant', MODULE_PAYMENT_ALERTPAY_ACCOUNT) .

 

//tep_draw_hidden_field('ap_amount', number_format(($order->info['total']) * $currencies->currencies[$CUR]['value'], $currencies->currencies[$CUR]['decimal_places'])) .

 

tep_draw_hidden_field('ap_currency', $CUR) .

 

tep_draw_hidden_field('ap_purchasetype', 'Item') .

 

//Barrys additions

tep_draw_hidden_field('ap_fname', $order->billing['firstname']) .

 

tep_draw_hidden_field('ap_lname', $order->billing['lastname']) .

 

tep_draw_hidden_field('ap_addressline1', $order->billing['street_address']) .

 

tep_draw_hidden_field('ap_city', $order->billing['city']) .

 

tep_draw_hidden_field('ap_stateprovince', $order->billing['state']) .

 

tep_draw_hidden_field('ap_zippostalcode', $order->billing['postcode']) .

 

tep_draw_hidden_field('ap_country', $order->billing['country']['title']) .

 

tep_draw_hidden_field('ap_contactemail', $order->customer['email_address']) .

 

tep_draw_hidden_field('ap_contactphone', $order->customer['telephone']) .

 

tep_draw_hidden_field('ap_taxamount', $order->info['tax']) .

 

$hiddenBox .

 

 

 

//pass shipping information to alertpay payment gateway

 

tep_draw_hidden_field('ap_shippingcharges', $order->info['shipping_cost']) .

 

 

 

//tep_draw_hidden_field('ap_itemname', MODULE_PAYMENT_ALERTPAY_PRODUCT_TYPE) .

 

tep_draw_hidden_field('ap_returnurl', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .

 

tep_draw_hidden_field('ap_cancelurl', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×