Updated install by Java Roasters. |
Thank you to Java Roasters for allowing this modified version to be released to the community. |
|
Modification written by VN2 Designs. |
![]() |
########################################################################################## # Firepay became Surefire and is now called Optimal Payments. ########################################################################################## # This module is for stores that want to accept 2 currencies ie; Canadian and USA # Dollars. # # PLEASE NOTE: That this involves getting 2 seperate merchant accounts from # Optimal Payments with twice the monthly charges. # # PLEASE NOTE: That you will also have to have a CAD and USD bank account. This can easily # be obtained from your current bank. # # This allows the customers of your store to be billed the exact amount that is shown at # the checkout of your store. Say a CAN customer purchases a product for $10 CAD (they will # be billed $10 for the item. A USA customer will (depending on the exchange rate set in # your store) see the product for $8 USD and be able to purchase it for $8 USD and be # billed $8 USD on their CC (with no currency exchange). # The $8 USD is then deposited into YOUR USD Bank Account and the currency exchange is # done when you transfer the money to your CAD Business Account. # The benifit of doing it this way is that it makes life easier and less stress for your # customers as they do not have to worry about the currency conversion or CC conversion # charges. What they see, is what they pay. ########################################################################################## # Payment Module Optimal Payments / SureFire Commerce via FirePay for osCommerce # (http://www.oscommerce.com) # Developed by mike wOZniewski, http://www.OZmediaSolutions.com with special thanks to # Evan Zhang. # # This updated version includes CVD ( the 3 - 4 digit number on the back of the card) and # confirms that number with Firepay. # # This updated version accepts 2 currencies. # # Updated by Yesudo for Java Roasters. Another quality VN2Designs.com contribution. # # Updated install by Java Roasters. # ########################################################################################## # INSTALL INSTRUCTIONS: ########################################################################################## # Step 1 # Install cURL if it is not installed on your server. It typically comes bundled with Linux, *BSD, # Mac OSX, but if you do not have it then get it from http://curl.haxx.se/ ########################################################################################## # Step 2 # Copy the 2 files to the proper direcories # catalog/includes/modules/payment/firepay.php # catalog/includes/languages/english/modules/payment/firepay.php ########################################################################################## # Step 3 # Modify the includes/cc_validation.php class to accept FirePay Payments (see http://www.firepay.com) # Add these 2 lines after Australian Bank Card; (NOTE: This is for accepting Firepay Payments. # If you do not wish or need to accept Firepay payments then you can skip this step.) # } elseif (ereg('^6015[0-9]{12}$', $this->cc_number)) { # $this->cc_type = 'FirePay'; ########################################################################################## # Step 4 # Configure module via admin (these should be supplied by Optimal Payments) # From Optimal Format osCommerce # # CAD: # Account Number: 99999999 CAD Account Number # Merchant ID: a1bb2c333-4de5-CAD CAD Username # Merchant Password: Abcd@efg CAD Password # # USD: # Account Number: 99999999 USD Account Number # Merchant ID: a1bb2c333-4de5-USD USD Username # Merchant Password: Abcd@efg USD Password # ########################################################################################## # IMPORTANT NOTES FOR THIS VERSION: ########################################################################################## # Since FirePay does not return a message in the header, this module uses CURL to post and receive # a response. This MUST be installed on your server if this module is to work. # You cannot use your regular account, username, and password if you are using the TEST mode; you # must contact SureFire and request a test account. # Currencies are NOT sent to SureFire. Your Optimal account(s) has a specific default currency, and # any order totals should be in that currency. ########################################################################################## |