WooCommerce PayPal IPN (checkout fields) - wordpress

I am working on a self hosted Wordpress website where we sell physical products and memberships and using the WooCommerce standard plugin to handle our cart / checkout. I use a tag to create the checkout page "[woocommerce_checkout]". For payment we only use PayPal. I have figured out how to capture the PayPal IPN so that I can do additional processing (i.e creating the member in the database) and this seems to work with no issue.
The problem is I would like capture the fields on the WooCommerce checkout page to be available in the IPN response from PayPal. For instance, first name, last name, address, email etc. How can I specify that these are included in the PayPal IPN? Is this available in the settings for the plugin or will I need to make my own implementation of the checkout page?

I found out you can get the information from the woo commerce tables in the database. The IPN contains the order id which can be used to look up more information about the order.

Related

Woocommerce orders not being received by PayPal, but email suggests otherwise

Having a nightmare with this and cannot find a solution anywhere - the only similar issues I find are the exact opposite problem!
Placing an order using PayPal (standard) at checkout puts the order 'On hold' in wp, but completes on the front end and the user even receives the PayPal receipt so are none the wiser. In the PayPal business account there is nothing.
Interestingly, PayPal express checkout works fine! So the account is definitely setup correctly. Something I have noticed is that the receipt from the express checkout transaction and from the standard have different Merchant names - the standard one (the one not working)has the name#emailaddress.com rather than the merchant name. This would suggest that this is the issue, but I've been into the business settings and checked this as well as the Woocommerce settings and everything is in order.
Any ideas? Thanks in advance!
For Woocommerce PayPal standard you have to enable Auto return url and Notification url(Instant payment notification) which will update the order status on your woocommerce. Refer the following URL link: https://docs.woocommerce.com/document/paypal-standard/ and enable both Auto return & Instant payment notification settings on the Merchant/Business PayPal account. Please note that Merchant PayPal account is not linked with any other website.
PayPal Express checkout is recommended: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
I would recommend you just stick with Express Checkout. It has many more features and options than PayPal Standard. I would recommend the PayPal for WooCommerce, though, which is the one PayPal reps would recommend as well if you talk to them.

In Woocommerce I want to add my custom payment gateway code along with Cheque payment

I need to integrate a payment gateway in woocommerce. I have installed a custom payment gateway plugin. But I didn't find the option for integration of the code.
I tried to add code on the thankyou.php. Here,
1. I am checking the payment method selected.
2. If my custom payment is selected it redirects to payment-gateway.php file, it contains my PG code.
But when I am redirected to thankyou.php the order entry is made in database and email is send to admin before payment made.
How can I avoid this? Or is there any other way to integrate my PG code.

How can I force Guest Checkout in Woocommerce using PayPal Express?

I'm trying to launch an online store using Wordpress, WooCommerce and the "Paypal for Woocommerce" Plugin.
On Paypal, Guest Checkout is only available on mobile, but it's not an option on desktop. I read somewhere that you need to add this lines to your SetExpressCheckout API Call but I don't know where to put them:
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
Can anyone using this plugin help me? Thank you.
it is true that if you add those parameters to the SetEC API call it will enable guest checkout and present the credit card form on the hosted page. To add these parameters, however, you have to alter the source code of the plugin. If you are using Angelleye's plugin there is a setting:
PayPal Account Optional – If your PayPal account is setup with PayPal Account Optional enabled (available in your PayPal account profile) then setting this option here will provide a better checkout flow for non-PayPal users. It will be more obvious that you do not need a PayPal account in order to complete payment, and this will typically increase conversion rates.
you can see complete documentation here.

Pass wordpress form data to checkout Page of shopify?

I create shopify shop and integrate it in wordpress website.And now I want to pass the custom form(created in wordpress) data to shopify checkout page.Data such as email,telephone,name etc.IS it possible or not?
Shopify API doesn't allow to create orders from outside services. You indeed can create carts with products / variants in cart (outside Shopify) and force the user to finish the buying process at PCI compliant Shopify checkout, which has 2 steps: (considering s/he is not authed)
A.- Buyer enters billing / shipping info as well as email address.
B.- Buyer enters discount coupon/s, chooses shipping method, enters payment info (credit card, paypal, wire, cod...)
Checkout url will look like: checkout.shopify.com/carts/your_store_id/cart_id

Wordpress woocommerce - Creating order at payment/checkout process

I am using woocommerce plugin version 2.6.14.
Whenever customer initiates a payment process (via PayPal) to deposit funds in the wallet, a new order is created whose email is sent to both customer and admin. Now, this order's email will confuse the customer because such order has not been created. For the customer, this is a simple add funds process.
I found this URL but I dont know how to resolve this issue in my code.
Woocommerce checkout process creating new order at payment
Please help.

Resources