Question about Paypal -- How do I include a "button" in an email that I am sending? I created the button; however, the only option that is being provided is an option is for a website.
You have to set the URL for the image:
<img src="apaypalbutton.img">
If you create a Paypal button, you should see (on top of the window where the code is generated) a "website" tab (which will give you the HTML code for your website) or "email" tab (which will give you the same code as a hypertext you can attach to a picture on your email).
However, if you create a button with drop down menus (option with prices...), the "email" tab won't be available which is probably your case here.
If so, I wouldn't be able to tell you exactly as it will depend from your e-mail provider but you might be able to include HTML code (so the "website" tab).
Otherwise, you can use the "send money" tab on the home page of your Paypal account to send invoices and payment request to your customers.
Related
I have a program running in an environment that supports URLs, but no javascript.
Say it's a Word document (though it's not).
Is there a way to craft the PayPal payment URL such that it's all that I need, without the requirement of an HTML form or Javascript?
http://paypal.me basically exists for simple things
You can create a Buy Now button via https://www.paypal.com/buttons with NO dropdown menus or text fields (which require HTML) and then, once you've generated your button code, clicking on the "Email" link above will give you a URL.
If you also want the URL to have editable fields, then before you create the button, in Step 2 uncheck the option to save the button at PayPal, generate the code, and click the link to remove code protection. Variables are documented here: https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/#technical-variables
When I try to create / modify a "Paypal button", I always arrive on a page that:
Looks the same as 10 years ago
Recommends to use "Internet Explorer 7 (!), Firefox 3 or Safari 4" for best results
In this button creation page, I cannot find how to choose the style among the "Custom payment page styles" created in this page: https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-page-styles. What is this page useful for, then, if we cannot use them when creating a button?
Did I miss a new interface somewhere (URL?) for button creation or is this very old interface still up to date?
The button creation page, which you are seeing is valid and it still appears the same.
However, the customization of the checkout page is no longer available through the Custom Payment pages( This feature is deprecated).
You may still add a logo, but that has to be done through coding. You will need to add the variable "image_url" with the value of the logo URL. For Express Checkout payments, you may use LOGOIMG .
For more details, kindly refer to this link: https://developer.paypal.com/docs/classic/admin/checkout-settings/#customizing-paypal-checkout-pages.
I am currently speccing out a custom auction plugin for WordPress. One thing I would like to do for each item is to generate a dynamic Buy Now link that will redirect to a PayPal screen with the item name and final price.
From what I can see, the only way to generate one of these buttons is to go to the form that generates the buttons for you. Is there a js file that I can use to generate these buttons from a Wordpress admin area? If so, can someone please provide a link so that I can begin reading up on the documentation?
Thank you
There are several examples of how to create a "pay now" button on stackoverflow (with simple HTML form). I would rather not use the "insecure" forms.
For including it in Wordpress you need to create a PHP Script (Plugin) that creates you the button, either with a library or "by hand".
The second thing I would recommend is to give PayPal an URL they should call after a payment status change (IPN). Some libraries (as the one above) can help you with that.
I noticed that when I order on my woocommerce site with Paypal that I'm not returned automatically to the website. I found where to set this option on my Paypal profile, but I have to enter a return URL. Is there a standard return URL?
RETURN URL would be >>>> yoursite.com/checkout/order-received/
You can read up more about the settings from this page.
http://wphow.org/setup-paypal-to-accept-credit-cards/
It should be: YourDomain/checkout/order-received/
You can find all the information with the latest update on this link:
How to set PayPal with Woo-commerce + Return URL
I had the same question and this solved my issue.
And Also to make it easy without following the link you need to follow this steps:
You can set up auto-return in your PayPal account, which will take customers to a receipt page. For example, use the following URL and replace YourDomain with your own URL:
YourDomain/checkout/order-received/
Add ?utm_nooverride=1 to the end of your URL to ensure that transactions (i.e., conversions) are credited to the original traffic source, rather than PayPal.
So the full link should look like something like this:
YourDomain/checkout/order-received/?utm_nooverride=1
Now,
1-Go to your PayPal account >> Profile Tab >> Account Setting >> My selling tools >> Website preferences and Click update on the right side.
2-You will find Return URL: text field you need to updated it with the link above.
Image attached.
I hope this will help
/wp-content/plugins/woocommerce/classes/gateways/paypal/class-wc-gateway-paypal.php is where the PayPal Standard request is dynamically generated. Within that it's making a call to get_return_url() to generate the return URL.
So, it's being dynamically generated based on order data and SSL settings on the site. It's basing it off your "thanks" page, though, so you could just set the Auto-Return setting in your PayPal profile to whatever that URL is as a basic setting. The return URL getting included in the payment requests should override that anyway.
In WordPress > WooCommerce > settings > Checkout > PayPal
Uncheck or turn off the "Use form submission method" option. With the option disabled this all works fine.
On a French install of WordPress/WooCommerce, the checkout page is named "commande".
Also, one can change the WooCommerce checkout endpoints (https://docs.woocommerce.com/document/woocommerce-endpoints-2-1/).
Maybe a more generic answer to this URL question would be
YourDomain/YourCheckoutPageName/YourWooCommerceCheckoutEndpoint/?utm_nooverride=1
(The utm_nooverride part is described in Tariq Ahmed's answer.)
The default YourDomain/checkout/order-received/?utm_nooverride=1 could for instance be YourDomain/commande/commande-recue/?utm_nooverride=1.
I think. :)
I have multiple other paypal buy it now buttons created and active on my account.
I have it set up so it has a "success url" and "cancel url" on each.
I am now trying to POST variables back to my website to use for my own purpose.
So I have a Buy it now button on my website that has an event name text field. I am looking for an easy way to use the PDT system so after payment, it will attach some POST variable (like the event name field) so I can use it to populate another form)
The problem that I am having is the PDT requirements say that I need to have auto-return ON, but then all my other buttons that I created are screwed up and return to that other URL and not the "Success URL" that I created in the button??
I know there is a simple solution.. Thanks!!
If you have a "success url" and "cancel url" set up on all buttons, this will override whatever you specify in your Profile.
So you can just enable 'Auto Return' and start using with your new button without any worries, as all existing buttons will still return back to their proper return URL's.