- This topic has 12 replies, 3 voices, and was last updated 3 years, 2 months ago by
Tom.
-
AuthorPosts
-
November 21, 2019 at 4:54 pm #1071608
Michelle
Hi, I have been trying to add PayPal buttons to my site. I have copied and pasted it 4 or 5 times in the customizer advanced CSS. After I paste it I get a bunch of red x’s and saying I have errors that need fixed. So I have gone through and deleted where it is red underlined. Well, it’s about half of the code.
I have to delete the hyphens, equal signs, periods, the arrows. Pretty much all except the letters. It fixes all except when I get to the last one or two left and it won’t clear the error even though it is in green and doesn’t show me what is wrong. At the top, it just says you have 1 or it could be 2 errors. I can’t fix it so I end up deleting the whole code.
What am I doing wrong? The one I am trying to add now is the sandbox PayPal then I have to do the live one. Michelle
November 22, 2019 at 5:15 am #1072258David
StaffCustomer SupportHi there,
are you able to share the code you’re trying to add? So i can see which type of code it is.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 22, 2019 at 9:15 am #1072856Michelle
`<form action=”https://www.sandbox.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”xxxxxxxx”>
<input type=”image” src=”https://www.sandbox.paypal.com/en_US/i/btn/btn_buynow_LG.gif” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
<img alt=”” border=”0″ src=”https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″>
</form>November 22, 2019 at 9:22 am #1072867David
StaffCustomer SupportThat code is HTML – so would be added to your post content.
If you’re using the classic WP editor then switch to text mode.
If you’re using the Block editor then add it using a HTML Block.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 22, 2019 at 9:26 am #1072874Michelle
should I connect it fo my cart page instead? I had issues before trying to add the payments so customers can stay on my site and not having to leave for another page to pay. I have not been able to set it up on my own site.
November 22, 2019 at 9:30 am #1072881Michelle
sorry I didn’t realize you answered me back when I sent the other message. yes, I am using wp editor also using elementor.
November 22, 2019 at 1:10 pm #1073091David
StaffCustomer SupportNot sure what type of payment require you have – but maybe a plugin like this would be a better bet:
https://en-gb.wordpress.org/plugins/wp-paypal/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/November 22, 2019 at 8:38 pm #1073338Michelle
your right I would like to have that plugin but I have 9 plugins and I’m afraid of having too many.
It gets really frustrating. thanks for your helpNovember 23, 2019 at 8:08 am #1073927Tom
Lead DeveloperLead DeveloperI wouldn’t worry too much about having too many plugins. If those plugins are well-coded/reviewed, you’re completely safe to use them. For example, this site we’re on has almost 25 plugins π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 23, 2019 at 8:35 am #1073966Michelle
oh ok! The host I have teaches that you shouldn’t have any more than eight and my site shows that my plugin is at 10% left. Some of the ones I have a extensions for woocommerce.
November 23, 2019 at 4:55 pm #1074272Tom
Lead DeveloperLead DeveloperWhen it comes to plugins, it’s really not as simple as “you should only have x activated”. Some plugins might be one line of code, while some might have 5000 lines of code. In the end, it comes down to only having the plugins you 100% need, and make sure they come from good developers with good ratings π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 23, 2019 at 8:22 pm #1074362Michelle
Thank you, I really appreciate you both for taking the time out to help me. I did install the Paypal plugin and i now have it setup.
November 24, 2019 at 8:31 am #1074954Tom
Lead DeveloperLead DeveloperGlad we could help π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.