Is it possible catch the click event on PayPal button?
e.g.
const btnPayPal = document.getElementById(‘btnPayPal’);
btnPayPal.addEventListener(‘click’, (e)=>{
? ? ? ? // code here
});
thanks
]]>After upgrading to version 1.0.28, Checkout for PayPal short codes do not create payment buttons for us. We are using WordPress 6.5.4, PHP 8.0.30.1, and a child theme based on Twenty Twenty-Two.
These are the troubleshooting actions I have taken. Keys for API client ID and client secret have been verified for both sandbox and live environments. All other plugins have been deactivated. Load Scripts Globally in Checkout for PayPal settings has been enabled.
I love this plugin and until now it has been working very well.
]]>Is an add-on needed to add quantity as an option to the shortcode. We have an item they can buy more than 1 quantity.
]]>After looking at your short codes I found they have to do with buying a product. My website is a nonprofit and I’m looking for a donation shortcode. Will your shortcodes help me out?
]]>Buongiorno, ho fatto tutta la procedura spiegata nella vostra pagina ( creato un app etc, installato il pulgin Checkout for paypal, inserito i dati richiesti, inserito lo short code nell’articolo ) ma il pulsante non appare sulla pagina. Ho fatto la prova anche con altre pagine ma niente
]]>My first question is on PayPal. I already have a merchant ID number in PayPal. Do I put that number in the client ID field?
This question is are Venmo. I assume I have to create an account. Where do I put the account information in your plug-in?
]]>I am testing payments via paypal sandbox. Everything works well. Does this mean that the payment will be just as good when I switch to a live account?
]]>when i call do_shortcode on custom template it doesn’t work
echo do_shortcode(‘[checkout_for_paypal item_description=”My cool product” amount=”1.00″]’);
If I click the option: “Debit or Credit Card” the amount do not show up anywhere.
Nobody will be willing to pay, if the amount they are going to pay does not show up.
Hi! Custom input and product variations are not available in this plugin?
]]>Hi! Is your great and really useful pluging compatible with Elementor?
Elementor does definitely work with shortcodes but when I put the shortcode of your plugin in Elementor it is not displayed either in the page editor or on the front end.
]]>We are getting the following error in the console after adding the shortcode to the page. https://ashtonlodgecountryhouse.com/payment-test/
jquery.min.js?ver=3.6.1:2 Uncaught ReferenceError: paypal is not defined
at initPayPalButton646216f877775 (VM1025:12:13)
at HTMLDocument.<anonymous> (VM1025:61:9)
at e (jquery.min.js?ver=3.6.1:2:30038)
at t (jquery.min.js?ver=3.6.1:2:30340)
Our shortcode is [checkout_for_paypal item_description=”Tasting Experience” amount=”0.01″]
All fields filled in with Client ID etc – this is also a multisite – could that cause issues?
]]>Hello. Is it possible to have the checkout amount dynamic depending on the website URL? For example, the users will be redirected to the link domain.com/checkout/25. On that page, the PayPal buttons will be displayed and when clicked, the payment amount will be 25.
]]>I am testing payments via sandbox. I’m testing card payment (card details taken from developer.paypal.com). When I enter the card details, I also enter the payer’s email and name. Then this data is displayed in the admin section in the “All orders” table.
Moreover, if the table is updated after the payment, then the data of the payment that seems to have just been made are visible. The problem is that I don’t know about other data, but at least the value of the name and email is not the one that was entered in the payment.
If you make one payment, and then another one, the table displays the name and email of the previous payment.
Maybe I’m doing something wrong? Maybe with real payments everything works?
Thank you for this great plugin.
However I’ve realized that it doesn’t work with Elementor plugin. When you call the shortcode in any page edited with Elementor, it doesn’t load. But if you use Guternberg or the classic options it works fine. My assumption is that Elementor is blocking something…? Are you able to help with this please? Thanks again
]]>Hi there; I have two problems I’m hoping your plugin might solve…
First, I’d like to be able to register new members using a form that, when a payment is completed through the PayPal button, the form completes, the registration is made, and the user is logged in.
Second, I’d like to offer easy refunds for customers that can be automatically made by the customer without the need for intervention from another person. The idea being that if the customer is unhappy after 7 days, they can complete a refund simply and quickly.
Does your plugin solve for either of these, and if not, will there be plans to include these as part of future updates?
Thanks, and have an awesome day!
]]>Are there any settings that need to be made to connect a users Venmo name?
]]>Hello,
How do I get the new Venmo button to appear?
Regards
Hello,
I would like to introduce the Pay Later button but I only see the Paypal and Credit card one. How could I make it appear?
Thank you
]]>The installation was completed successfully. Thank you very much for this addition, but when I pay and write the PayPal account, the following error appears. Some of your information isn’t correct. Please try again.
Tried using more than one Paypal account, same problem
Hi.
Would it be possible to remove the fields related to the phone number in the shortcode?
Tnx
Hi,
the plugin doc says
“When you receive a new order it will appear in the Orders menu. You can then do the following to finalize it:
1) Send a purchase confirmation email to the customer “
How do I send the purchase confirmation email ? Is there a button or something I should have noticed ?
Thanks for your assistance & regards
]]>Hi,
If I add the “item_description=” tag, I do not see it used anywhere. What is it for ?
The whole idea of showing the customer what she is going to pay for is quite nice, I’d be glad to see how to implement this ?
I tried both Credit Card and Paypal account payments, nothing seems to show this value. Even the order recorded in the “Orders” page does not show it.
Thanks for your assistance & regards
Thierry
I’m trying to use this to setup a variable price. I tried
[checkout_for_paypal item_description=”Pay My Invoice” amount=””]
But it says You need to provide a valid price amount
Hi,
feature request ??
Pls, add options for email notification to admins email and to buyers email.
Thanks
]]>Hi,
thanks for the plugin.
The paypal trow an error without ¤cy param.
Add to the js url code, pls:
$options[‘currency_code’]
function plugin_scripts() {
if (!is_admin()) {
global $post;
if(is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'checkout_for_paypal')){
$options = checkout_for_paypal_get_option();
wp_enqueue_script('jquery');
wp_register_script('checkout-for-paypal', 'https://www.paypal.com/sdk/js?client-id='.$options['app_client_id'], array('jquery'), null);
wp_enqueue_script('checkout-for-paypal');
}
}
}
—
temporary solution for users:
in Settings page, in the “Client ID” fields, after the ID code, add the
¤cy=HUF
text and it works ??