Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter oliverspence

    (@oliverspence)

    My apologies about that. Security was set for locations in Canada and United States only. I have removed that restriction. You should be able to view the site now.

    Cheers … Jay

    Thread Starter oliverspence

    (@oliverspence)

    Thank for the advice Met. I disabled all non-essential plugins and enable one at a time and tested. Finally, I discovered the culprit … WPShapere has an email section that was not set up correctly (invalid email address). I fixed that section and everything worked again 🙂

    Thread Starter oliverspence

    (@oliverspence)

    After some digging it turns out that the gateway AND Stripe are both to blame.

    My friend at Dev49.net discovered this:
    “Most payment processors work in two steps:
    1. Website sends data do payment processor (amount, currency, optionally user data etc.)
    2. Payment processor calls back the website to notify it whether it was a success or not.
    This is how PayPal works, Skrill and almost all other processors out there.

    Stripe uses three steps:
    1. Website sends only credit card data to Stripe to authorize it
    2. If authorized correctly, Stripe calls the website to get full order data (amount, currency and optionally other stuff) and tries to capture the money from the credit card
    3. Is successful, Stripe calls the website again only to notify it about the payment result”

    During the call back (step 2) Stripe gets the base currency set up on Woocommerce and not the alternate or session stored currency. The payment gateways I chose did not handle this correctly, nor did a couple that Dev49.net tried. We eventually found one that did work: stripe-for-woocommerce.

    Hope this helps.

    Cheers …

    Thread Starter oliverspence

    (@oliverspence)

    Thanks for the info. So how does ‘stripe_storecurrency’ get set in the first place? Does your plugin work with currency switching plugins? I have tried two different plugins and neither appear to work, and based on your comment they would not be expected to. Do you know of one that does work with your plugin?

    On plugin version 1.0.5 on line no 407 there is a code as below

    Also, what file are you referencing in this line from your comment?

    Cheers …

Viewing 4 replies - 1 through 4 (of 4 total)