Results 1 to 7 of 7

Threaded View

  1. #3
    Join Date
    May 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: Currency Help with Paypal IPN

    Thanks for the fast reply. It was already under selected currencies. Yet for some reason it didn't work. I double checked my currencies too, Swedish Krona is set as default and the currency code is SEK, which I check is also correct. But for some reason it still charges people in USD. But here is a bit of update:

    I screwed around with the paypal.php file in the modules/payment folder. And I was looking at this:
    if (!in_array(strtolower($_SESSION['languages_code']), array('en', 'us', 'it', 'fr', 'es', 'de'))) {
    $lang_code = 'us';
    }
    if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
    $my_currency = $_SESSION['currency'];
    } else {
    $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
    }
    if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) {
    $my_currency = 'USD';

    I took the liberty and changed it to this:

    if (!in_array(strtolower($_SESSION['languages_code']), array('en', 'us', 'it', 'fr', 'es', 'de'))) {
    $lang_code = 'us';
    }
    if (MODULE_PAYMENT_PAYPAL_CURRENCY == 'Selected Currency') {
    $my_currency = $_SESSION['currency'];
    } else {
    $my_currency = substr(MODULE_PAYMENT_PAYPAL_CURRENCY, 5);
    }
    if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUD'))) {
    $my_currency = 'SEK';


    And now the payment works, they get charged the right amount cause I used a Swedish credit card to test it out, HOWEVER, I no longer get order confirmation email, and the admin panel does not even register the order and the product is not deducted...

    So it's either, pay the wrong amount, but order gets registered, or pay the right amount, but inventory not deducted and order never came through.

    I've already wasted $2 USD on paypal fees just testing this out... I'd rather donate money to the forums for helping me out than paying Paypal just so I can redo my futile attempts.
    Last edited by Eizual; 20 Jun 2007 at 06:54 PM.

 

 

Similar Threads

  1. PayPal IPN Currency/Amount Mismatch: converted_amount
    By beetree in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 23 Sep 2009, 01:01 AM
  2. Help with paypal IPN (urgent help needed!)
    By roy(irishtaxi) in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 Jun 2008, 07:06 AM
  3. Help with paypal IPN please
    By funtimesx in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Oct 2007, 02:58 PM
  4. Help with Paypal IPN
    By Eizual in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 25 Oct 2007, 07:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg