WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to set up Paypal to work with Woocommerce? (33 posts)

  1. bugaonz
    Member
    Posted 12 months ago #

    I've already tried hard to set up Paypal on Woocommerce without success.

    I wonder what is the actual steps used to set up paypal on woocommerce?

    My problems are:
    1) I tested it with my sandbox but, after payment, it doesn't redirect back from paypal to my website. (I've already had business Paypal account and the redirect url on Paypal is already set)

    2) The order status after check out is still 'pending'(unpaid).
    It doesn't automatically change the status after check out.
    I've no idea how to make it work?

    3) What the difference between 'PayPal Email' and 'Receiver Email' in payment gateway setting?

    4) Do I have to do anything to make IPN work?

    5) No notification email sent to shop owner...

    NOTE: On my status page -> wp_remote_post() was successful - PayPal IPN is working.

    Thanks in advance for any helps!

    http://wordpress.org/extend/plugins/woocommerce/

  2. bugaonz
    Member
    Posted 12 months ago #

    Screenshot

    Above is the screenshot after the payment is made.
    It's not automatically returned to the website.
    The user has to click the link itself in order to get back to the site.

  3. bugaonz
    Member
    Posted 12 months ago #

    I've finally made it to automatically redirect back to my website.

    However, the order status is still unchanged and it's still 'pending'.

  4. gatlas
    Member
    Posted 12 months ago #

    hi. I'm also struggling to get paypal working in wooCommerce. Any good tutorials that helped you out?

  5. wwh
    Member
    Posted 12 months ago #

    hello, i'm also interested in know the solution this issue

  6. Sjourney
    Member
    Posted 12 months ago #

    @buganoz
    what did you do to automagically redirect the customer back to the site (without them having to click on the link in your screenshot)?

  7. IgniteWoo
    Member
    Posted 12 months ago #

    Have you set up IPN in your PayPal account?

  8. bugaonz
    Member
    Posted 12 months ago #

    @Sjourney - You must have business paypal account (it's free to upgrade). Then, follow these steps https://www.paypal.com/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

    @wwh - No solution just yet. I'm still facing order with 'Pending' status.

    Does anyone know how to make the status to be 'processed' or 'completed' after successful payment?

  9. bugaonz
    Member
    Posted 12 months ago #

    @IgniteWoo.com Team

    Do you mean by the menu 'Instant Payment Notification (IPN)'?

    If yes, I've tried both set and not set it up.
    Anyway, I'm not sure if I set it up correctly.

    What is the correct notification URL for setting IPN on Paypal?

    Is it http://www.mysite.com/?wc-api=WC_Gateway_Paypal
    or
    http://www.mysite.com/?paypalListener=paypal_standard_IPN

    Here is my IPN log

    04-21-2013 @ 11:34:32 - Generating payment form for order #1599. Notify URL: http://www.mysite.com/?wc-api=WC_Gateway_Paypal
    04-21-2013 @ 11:34:57 - Checking IPN response is valid...
    04-21-2013 @ 11:34:57 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 65.00
                [invoice] => SEO-1599
                [protection_eligibility] => Ineligible
                [item_number1] =>
                [payer_id] => DHNKCRBSKLP34
                [tax] => 0.00
                [payment_date] => 04:34:54 Apr 21, 2013 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => aonz
                [notify_version] => 3.7
                [custom] => a:2:{i:0;i:1599;i:1;s:19:"order_5173cd20e22c9";}
                [payer_status] => unverified
                [business] => mysite@gmail.com
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => An5ns1Kso7MWUdW4ErQKJJJ4qi4-AiduoJHNlj-vWzwI1qeuQD4kqsxj
                [payer_email] => buyer1@gmail.com
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 90Y65431J2849625F
                [payment_type] => instant
                [last_name] => buyer
                [item_name1] => Real Visitor Traffic for One Month Campaign
                [receiver_email] => mysite@gmail.com
                [quantity1] => 1
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 65.00
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] => a:2:{i:0;i:1599;i:1;s:19:"order_5173cd20e22c9";}
                [payment_gross] => 65.00
                [ipn_track_id] => 30ecf0a5cab3a
            )
    
        [sslverify] =>
        [timeout] => 60
        [user-agent] => WooCommerce/2.0.5
    )
    
    04-21-2013 @ 11:34:58 - IPN Response: Array
    (
        [headers] => Array
            (
                [date] => Sun, 21 Apr 2013 11:34:58 GMT
                [server] => Apache
                [x-frame-options] => SAMEORIGIN
                [set-cookie] => Array
                    (
                        [0] => c9MWDuvPtT9GIMyPc3jwol1VSlO=6IG3FgE2O1X82BuatDz5EdNRbN22W21E0lGkX_OGwsxbQVU35t1ccGdsFAc0o7ZJJYoXNHaoEpJJkpnuWhWa3EAgGaOjnI-Mra-t2aa5ZFcitMyogdkHW99KZv-Cr_y_tt8M_m%7c6I9xY_3PcYzOD9Ax8bjUl0b73rRo0BaAl5a2F7rAYdlHahwWc71UoRXs5JO8pbGldcplQm%7ciA4KGy8_6i_Fe9nnEjsDD2z47DiEUf1BrUjwfQlRla0z_9CyutGSnOtbQBRLpf7QzYoQGm%7c1366544098; domain=.paypal.com; path=/; Secure; HttpOnly
                        [1] => cookie_check=yes; expires=Wed, 19-Apr-2023 11:34:58 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
                        [2] => navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
                        [3] => navlns=0.0; expires=Sat, 16-Apr-2033 11:34:58 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
                        [4] => Apache=10.72.109.11.1366544098040452; path=/; expires=Tue, 14-Apr-43 11:34:58 GMT
                    )
    
                [connection] => close
                [content-type] => text/html; charset=UTF-8
            )
    
        [body] => VERIFIED
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => c9MWDuvPtT9GIMyPc3jwol1VSlO
                        [value] => 6IG3FgE2O1X82BuatDz5EdNRbN22W21E0lGkX_OGwsxbQVU35t1ccGdsFAc0o7ZJJYoXNHaoEpJJkpnuWhWa3EAgGaOjnI-Mra-t2aa5ZFcitMyogdkHW99KZv-Cr_y_tt8M_m|6I9xY_3PcYzOD9Ax8bjUl0b73rRo0BaAl5a2F7rAYdlHahwWc71UoRXs5JO8pbGldcplQm|iA4KGy8_6i_Fe9nnEjsDD2z47DiEUf1BrUjwfQlRla0z_9CyutGSnOtbQBRLpf7QzYoQGm|1366544098
                        [expires] =>
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [1] => WP_Http_Cookie Object
                    (
                        [name] => cookie_check
                        [value] => yes
                        [expires] => 1681904098
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [2] => WP_Http_Cookie Object
                    (
                        [name] => navcmd
                        [value] => _notify-validate
                        [expires] =>
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [3] => WP_Http_Cookie Object
                    (
                        [name] => navlns
                        [value] => 0.0
                        [expires] => 1997264098
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [4] => WP_Http_Cookie Object
                    (
                        [name] => Apache
                        [value] => 10.72.109.11.1366544098040452
                        [expires] => 2312624098
                        [path] => /
                        [domain] =>
                    )
    
            )
    
        [filename] =>
    )
    
    04-21-2013 @ 11:34:58 - Received valid response from PayPal
    04-21-2013 @ 11:34:58 - Found order #1599
    04-21-2013 @ 11:34:58 - Payment status: pending
  10. bugaonz
    Member
    Posted 12 months ago #

    Ok, found this thread

    Put $order->payment_complete(); in thankyou.php.
    Then, after paypal redirect back to your site, it will change status to completed.

    <?php else : ?>
    <?php $order->payment_complete(); ?>
    <p><?php _e('Thank you. Your order has been received.', 'woocommerce'); ?></p>

    Anyway, this is just for quick fix only.
    Still wonder why we have to do this?

    Why don't woocommerce fix or help explain this issue?

  11. David Anderson
    Member
    Posted 8 months ago #

    Note to future readers: the solution above is wrong. The "unilateral" code returned from PayPal means that the email address used for payments has not been verified, so the payment is not yet released. WooCommerce is functioning correctly by not treating the payment as confirmed.

    See: https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables#id091EB04C0HS

  12. Pitou31
    Member
    Posted 7 months ago #

    Sorry but I don't understand when you say that "the payment is not yet released. WooCommerce is functioning correctly by not treating the payment as confirmed."
    Why Woocommerce doesn't take into account the payment confirmation ? Is it not part of their functionalities ? In my opinion it should be taken otherwise we never know if the payment is OK and it will oblige the administrator to go to the Paypal account for checking the payment and to modify the command status accordingly.
    I wonder that it is more in relation with the sandbox option and the Paypal standard option.
    I already used this with the Estore plugin and Paypal Pro without problem but still not with Woocommerce.
    For the time being many users find the same problem, including myself, without finding any solution and without any possibility to report to the Woocommerce support!!!

  13. win32@list.ru
    Member
    Posted 7 months ago #

    Tell me where I can change the word discount in the plug woocommerce such action to the word?

  14. Pitou31
    Member
    Posted 7 months ago #

    I sent a message to the sale support concerning technical support.
    This is the reply I got:

    Maria (WooThemes)
    Sep 05 21:13 (UTC)
    Hi Soule,
    Thank you for contacting WooThemes! I'm happy to hear you've tested out WooCommerce. The best way to submit a possible bug would be to contact our Ninjas by opening a new ticket here: http://woothemes.zendesk.com/requests/new
    - however, you will not have access to the Help Desk until you purchase a product from WooThemes.com. Once you do, our Ninjas can help take a look, do testing and if it is confirmed as a bug they will submit this to the devs. Otherwise, there is a public forum on GitHub where you could report possible issues: https://github.com/woothemes/woocommerce
    - but this is not an official support forum nor is it supposed to be used for questions if you need help troubleshooting our Help Desk is the best place, or the public WooCommerce forum here: http://wordpress.org/support/plugin/woocommerce
    Cheers!
    Maria
    WooThemes Support

    That is clear that without purchasing any Woo product no Woo contact support is allowed.
    This is a very strange policy which prevent any improvement or bug reporting. Woo is not a poker playing cart saying "you have to pay first before to see....."

  15. macrunner
    Member
    Posted 7 months ago #

    @ Pitou31
    Welcome to the real world :D
    WooThemes interested, first of all, make money.

  16. Pitou31
    Member
    Posted 7 months ago #

    Of course, E-commerce is money ....
    But we must think about that, there are using an open source foundation which is the free (for the moment) WP platform. Strange to make money then because without WP no Woocommerce plugin is possible. They should refund some money back to WP from their benefit. I can better understand the business policy of products like Magento, Prestashop, Opencart, etc, which are independent product, but making money under the WP back is not honest in my opinion.
    Another example:
    As many people knows, for all the basic e-commerce product the shipping cost calculation and standard parameters like Fixed rate is a weak function and don't reflect the reality. This is the case of Woocommerce in standard. So they are proposing a very expensive plugin to calculate the shipping prices based on different parameters like the product weight and countries. You can find for free a very nice WP plugin called AWD Weight/Country Shipping doing the same. if the users are not aware they will spend money off for nothing and of course Woocommerce doesn't say anything which is not normal too.
    Also I am surprised to see that Woocommerce doesn't run well using some Themes, including the basic WP standard themes like Twenty Ten WP Theme. Many articles advice you to purchase Woo Themes probably for that reason. I found out in the forum that people have a bug with Woocommerce because of using different theme than Woocommerce themes. It is at the limit of the proprietary solution.
    Conclusion before purchasing anything make a search and make deep tests on using your theme.

  17. esmi
    Theme Diva & Forum Moderator
    Posted 7 months ago #

    They should refund some money back to WP from their benefit

    That is simply not possible as WordPress does not accept financial contributions of this kind as a matter of principle. That said, many theme and plugin developers - including WooThemes - do support the ongoing development in other, non-monetary ways. That is why they are listed in http://wordpress.org/themes/commercial/ which says:

    What they all have in common is people behind them who support open source, WordPress, and its GPL license.

  18. Pitou31
    Member
    Posted 7 months ago #

    They should refund some money back to WP from their benefit I know that is not possible, it was just to illustrate the normal game. But you are right when you are saying that some of them are supporting open source, I would like just to have more supporter and less business men.
    By the way thank you to give me the link to find WP commercial themes. It was my intention to evaluate and to test them.

  19. roopeshsuyal
    Member
    Posted 6 months ago #

    I also have an issue with woocommerce paypal configuration.

    I am used to with paypal with lots of other CMS and plugins but facing some problem with wocommerce.
    According to woocommercce documentation http://docs.woothemes.com/document/paypal-standard/#section-3 their IPN URL is like http://example.com/?wc-api=WC_Gateway_Paypal

    I replaced example.com with my site address. The problem is paypal is not accepting it. It is generating a notice

    "You must enter a properly formatted URL into the Notification URL field in order to activate Instant Payment Notification."

    I know it is not properly formatted url as it contains "?".

    Is there a method to make it properly formatted, Any hook or any thing which will make it properly formatted.

    Or do i need use URL rewrite for it what i am thinking to do next.

    Thanks

  20. roopeshsuyal
    Member
    Posted 6 months ago #

    I also have an issue with woocommerce paypal configuration.

    I am used to with paypal with lots of other CMS and plugins but facing some problem with wocommerce.
    According to woocommercce documentation http://docs.woothemes.com/document/paypal-standard/#section-3 their IPN URL is like http://example.com/?wc-api=WC_Gateway_Paypal

    I replaced example.com with my site address. The problem is paypal is not accepting it. It is generating a notice

    "You must enter a properly formatted URL into the Notification URL field in order to activate Instant Payment Notification."

    I know it is not properly formatted url as it contains "?".

    Is there a method to make it properly formatted, Any hook or any thing which will make it properly formatted.

    Or do i need use URL rewrite for it? i am thinking to do it next.

    Thanks

  21. Michael Tieso
    Member
    Posted 5 months ago #

    roopeshsuyal -- not sure if you're still having issues but be aware of www and non-www.

  22. lopezmr22
    Member
    Posted 5 months ago #

    I also have an issue with WooCommerce.

    I recently added products to my site for a test run and I purchased one of the products. The site is for a band so the item was $0.99. The order was successful and I was able to download the item, but the $0.99 did not go into my PayPal account.

    Is this normal? Does it take a certain amount of time for WooCommerce to transfer money to PayPal, or do I have it set-up wrong?

  23. asterbird
    Member
    Posted 3 months ago #

    @lopezmr22, did you get your WooCommerce working? Did you use a credit card or other paypal account to purchase your item?

  24. lopezmr22
    Member
    Posted 3 months ago #

    Yes, I did.

    As it turned out, I had the sandbox feature on which allows a user to purchase items in there shop without the exchange of money to make sure everything is looking good.

  25. ArbelMartin
    Member
    Posted 3 months ago #

    I had the same problem and here's how I fixed it:

    I set up my IPN -
    1. Paypal
    2. Profile
    3. Seller Settings
    4. Update IPN Preferences
    5. According to WooCommerce you have to use this URL with your website in the example area, for the IPN: http://example.com/?wc-api=WC_Gateway_Paypal
    6. I turned off sandbox settings in the WooCommerce Payment Settings under PayPal.

    Worked like a charm. hope this helps!

    -Arbel

  26. lopezmr22
    Member
    Posted 3 months ago #

    Thanks, I fixed this a couple months back. My fix was as simple as turning off sandbox.

  27. cw_customweb
    Member
    Posted 2 months ago #

    Hey did you check this extension?

    It is easy to set up and uses all features of PayPal's API Integration. it comes with support and also allows Refunds, partial Captures, Captures etc. directly out of the shop backend.

    see here: http://www.sellxed.com/shop/en/wordpress-woocommerce-paypal-zahlungs-plugin.html

  28. amysbluedaisy
    Member
    Posted 2 months ago #

    I am having trouble with Paypal too. I think I have tried all the above and still get this error.

    wp_remote_post() failed. PayPal IPN won't work with your server. Contact your hosting provider. Error: SSL read: error:00000000:lib(0):func(0):reason(0), errno 0

    My hosting service said the error was not on there side.

  29. mish61
    Member
    Posted 2 months ago #

    Not sure if I should be posting here but it is 'paypal button integration' related. I have not got to the stage of checking everything yet, and this may seem like a bimbo question, but I cannot see where I actually put the pay pal 'add to cart' button code so it integrates with my PP Business Acct. Do I just add to the 'Checkout-Pay' page or in custom-woocommerce.php? I am using Virtue theme and not that experienced with html.
    Thanks in advance

  30. angelleye
    Member
    Posted 1 month ago #

    Those of you still having trouble with getting PayPal working well in WooCommerce may want to take a look at PayPal for WooCommerce, a plugin I just launched.

    I'm a certified PayPal developer and an official PayPal partner. I've been integrating their stuff for years, and I just wasn't happy with the available options to get PayPal running on WooCommerce, so I built this and launched it as a stand-alone plugin.

    It currently works with Express Checkout and Payments Pro, but I will be adding Recurring Billing, Adaptive Payments, Invoicing, and more in the coming months.

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags