Print Page | Close Window

Currency Conversion for Authorize.Net

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1930
Printed Date: 23-April-2025 at 11:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Currency Conversion for Authorize.Net
Posted By: angel
Subject: Currency Conversion for Authorize.Net
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net