ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Currency Conversion for Authorize.Net
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Currency Conversion for Authorize.Net

 Post Reply Post Reply
Author
Message
angel View Drop Down
Newbie
Newbie
Avatar

Joined: 26-June-2008
Location: Dhaka
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote angel Quote  Post ReplyReply Direct Link To This Post Topic: Currency Conversion for Authorize.Net
    Posted: 23-August-2008 at 10:54am

I'm using ProductCart v3.11 (PC) & Authorize.Net (ANET). My goal is to have Bangladeshi Taka (BDT) in our shop but ANET accepts only USD. I did some customization to convert BDT to (flat currency conversion rate) USD while sending it to ANET.

To achive that, I've changed following lines in /pc/gwAuthorizeAIM.asp file:

Line: 117
From: stext=stext & "&x_Amount=" & pcBillingTotal
To: stext=stext & "&x_Amount=" & pcBillingTotal / 70

Line: 478
From: <%=money(pcBillingTotal)%>
To: <%=money(pcBillingTotal / 70)%>

(Assuming 1 USD = 70 BDT)

Tell me what do you think.

Sultan Arefin
www.chorka.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.