• Resolved sgehrman

    (@sgehrman)


    I’m trying to get PayPal working. I’m using Software license manager and wc-slm to generate license keys. That all works great for credit card payments, but when PayPal auto returns to my thank you page, the license hasn’t been generated yet. woocommerce_order_status_completed triggers the license key to be created. When I’m returned to my thank you page from auto return, shouldn’t the order be completed by then? Isn’t that what IPN and PDT help with? How can I be guarantee that woocommerce_order_status_completed is called before I get returned to my site from PayPal?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Howdy ??

    No. Despite the I in IPN standing for “instant” it is not instant. And, since you say you are testing, in sandbox mode there are even further delays.

    If you must use PayPal in this scenario then I would suggest you use the PayPal powered by Braintree gateway as an alternative to PayPal Standard. https://www.ads-software.com/plugins/woocommerce-gateway-paypal-powered-by-braintree/

    Thread Starter sgehrman

    (@sgehrman)

    Thanks, Is braintree better? I’ll try to use that, but don’t want to go down another rabbit hole of poor design and bugs that I’ve been dealing with for months now with Woocommerce. I went to that link you sent, and every review listed has one star and says ‘doesn’t work’. I also think I remember trying this plugin and it was forcing a new window to appear in the browser. Is this the case? I’m running this in a Cocoa webview and can’t have windows popping up.

    • This reply was modified 6 years, 8 months ago by sgehrman.
    • This reply was modified 6 years, 8 months ago by sgehrman.
    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    @sgehrman – The Braintree plugin allows you to use credit card fields directly on the Checkout page(they don’t have to redirect to PayPal). The callback from credit card purchases tends to be virtually instantaneous.

    But yes, the ‘PayPal’ button used with the Braintree plugin uses PayPal’s “in-context” checkout, which means it will open in a pop-up window.

    https://docs.woocommerce.com/document/woocommerce-gateway-paypal-powered-by-braintree/#section-30

    melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PayPal IPN/PDT before thank you page problem’ is closed to new replies.