I have two brands, each with their own website. Website A is already using PayPal, now I want to connect Website B, but I can only specify one return URL in PayPal.
Is it possible to connect multiple WooCommerce stores to one PayPal Account? If so, how does it work? Does WooCommerce sends its own overwrite for the return url?
Does WooCommerce sends its own overwrite for the return url?
The PayPal payment method you have configured in woocommerce may or may not use a return URL. If it does, it will specify it when it sets up the transaction. The setting in your PayPal account is irrelevant.
Related
I have a WordPress form that processes data and redirects to this url to complete the PayPal donation
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com¤cy_code=USD&amount= <amount>&return=http://example.local/about
However, when I submit the form I receive this error from PayPal
We can't complete your donation. This organization's account is inactive.
What am I missing? The reason I have it setup this way is because I want WordPress to save the form data and send a thank you/confirmation email after the payment is complete.
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com¤cy_code=USD&amount=&return=http://example.local/about
When testing with any sandbox account, change the domain to point to the www.sandbox.paypal.com sandbox environment , i.e.
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com¤cy_code=USD&amount=&return=http://example.local/about
I have to deliver a WordPress eCommerce website but what if I give the role of editor to my client will he still get emails about the orders received on the website? Actually this is my first eCommerce website
The e-commerce email (the address that receives the order notification) should have it's Name and password, it is sure that he can receive the received order notification from the email if you provide him with the credentials of this email address. If he could access the website on the backend he could also access the orders.
You just have to write the email of the client in the Settings section of the WordPress. Your client will still get emails.
He can even get the emails without getting the complete access to the wordpress. This is how I am doing it for my client at maheenandco. You just need to put his email address. You can use multiple emails. You will find the option in woo commerce settings.
I'm currently working on the wordpress ecwid plugin. In order to develop my own payment method, I downloaded on github their payment gateway template that I'm now trying to install on my wordpress ecwid shop without success. Please, would you know how to proceed? Thank you for your attention.
It's Gunter from Ecwid team. I see you reached out to us via email too. We've addressed the email request. And we will post the answer here too, just in case.
If you want to integrate a custom payment to your Ecwid store, you should follow these steps:
Register a custom app. You can do that at this direct link: https://my.ecwid.com/#develop-apps
Provide us with the payment URL (your own server) to which Ecwid will send the payment requests. You can send us your URL to apps#ecwid.com email and we'll add it to your app.
After that, when your customers choose your own payment at checkout and click on the “Pay” button, Ecwid will send a POST request with the cart data to your server payment URL. And your customer will be also redirected to this URL. So, you can show any external page to them after redirection.
After redirection, your server needs to get cart details from the request, decrypt it and send it to the payment provider in a correct format for processing. After the payment is processed, your server needs to update the order status and redirect the customers back to the Ecwid storefront.
You can find more details about how the custom payment apps work here: https://api-docs.ecwid.com/docs/how-payment-method-works
I have a web store which for it I defined an IPN in paypal.
lets say the address is: www.x.x .
This is working great.
Recently I lunched another website with woocommerce web shop.
The IPN that should be running hasn't changed.
However for some reason, it doesn't work from the new site.
When I see the history of transcations in paypal...
I see that the Notification URL is diffrent that what is defined in Paypal.
Now it goes to:
https://My_Site/wc-api/WC_Gateway_Papal/
Why it doesn't go to www.x.x as it should? and how do I fix it?
Why does URL defined in Paypal are overwritten?!
Basically there are two ways of defining the IPN URL : one set in PayPal , second website will send it to PayPal via the code as a variable . If the IPN URL is sent via variable then it will override the URL mentioned in account .
So in your case the URL is being sent from WC to PayPal and hence over writing it .
What you will look for is a variable "notify_url" (or NOTIFYURL if using our APIs) and the value of that variable will be the URL Paypal will use for IPN on the specific website.
As Eshan says, if the variable is present, it will override your Paypal account settings so you can remove that line with the variable and in that case, Paypal will then use the IPN URL defined in your Paypal account.
Hope that helps.
Regards,
Florian
I have an ASP.NET website that allows users to subscribe to a service. When a user decides to pay for their subscription, they are redirected to the PayPal site. Please note, I have a website payments standard account. Regardless, they are redirected to a URL that looks like the following:
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick-subscriptions&business=MYID&item_name=Service Subscription&a3=12&p3=1&t3=Y&src=1&srt=1&no_note=1&return=https://www.mysite.com/confirmation.aspx?id=b67e1f4d-35fa-40f7-812b-2f32b87a3d15
Interestingly, the ID in my query string of the URL is removed. I really want to pass a variable from my site to paypal, and then from paypal back to my site. The purpose of this variable is associate the subscription with the user. Is there a way to do this with website payments standard account?
Thank you!
You need to set up profiles with your membership system. You can then associate a variable with a particular subscriber.
http://www.codersbarn.com/post/2008/07/10/ASPNET-PayPal-Subscriptions-IPN.aspx
Profiles are available out-of-the-box with the website template. If you're using the WAP template, then it requires some extra work (worth the effort).
As regards passing a custom variable, you can do this by using the appropriate PayPal variable and getting it back via IPN.