WordPress theme does not support paypal - wordpress

I have a WordPress website in which default payment gateway is stripe, but I need PayPal. But this theme stop PayPal support, So what I need to do for using PayPal in this theme.
theme is: http://demo.hellovideoapp.com/

You need to edit PHP pages of the theme on which you want implement PayPal Payment method or whatever you want. Also you need to edit your configuration file i.e. web.config (via CPanel if your website is published).
For further help please check the following documents and code samples:
https://github.com/paypal/PayPal-PHP-SDK

Related

Wordpress Email Issue

I am having a problem with wordpress woocommerce. I installed woocommerce and configured out everything. But Woocommerce do no sent order e-mail to customer. Then I searched problem and I decided to setup POSTMAN SMTP plugin. But it does not work too. How can I overcome ?
Postman Settings
Wocommerce settings
I wouldn't use a plugin for something you can't directally see breaking. Anyway no need. If you go to your admin Panel, - e-commerce settings - then select email tab - processing order (in secondary menu) and enable email notification. I hope this helps.

WooCommerce Payment Gateway not showing on checkout page

I have enabled the PayPal standard gateway. This is currently the showing payment method on the checkout page. I have installed an SSL and have an HTTPS:// how ever when i try to enable the PayPal Pro Payment Gateway (in sandbox mode) the Checkout page only displays the Paypal standard method and does not give the familiar radio buttons to select the method. Only method available is the paypal standard.
I also tried enabling the Cheque payment gateway but that also does not display on checkout page
Is there any way to fix this so the credit card input Paypal pro payment method displays on the checkout page?
The site is https://www.dowelmax.com
I had this very same problem and found this page in researching the answer. You mentioned that it turned out to be a conflict with a currency switcher plugin. I had one of those installed, so tried disabling that and indeed my problem resolved too!
To further clarify a solution for anyone else in the same boat - it may be that you need to enable specific payment gateways for each available currency. Above and beyond the general WooCommerce enable option. (Even for your base currency)
This enabled me to fix the problem AND keep my currency switcher plugin active.
In my case, it was Aelia Currency Switcher. They have a support note on it here:
https://aelia.freshdesk.com/support/solutions/articles/158712-one-or-more-payment-methods-don-t-appear-after-installing-the-currency-switcher-how-can-i-fix-it-
Depending on what plugin you are using in WooCommerce, you need to enable force secure checkout. Once force secure checkout is enabled typically PayPal Payments Pro will show up on the checkout page.
Click on WooCommerce
Settings
Checkout
Checkout Options
Place a check mark next to force secure checkout (not force http) and then save. Also make certain that PayPal Payments Pro is enabled on the list of gateways.
This image is from the WooCommerce Documentation on Woothemes.
I resolve this problem with this instructions :
Admin > Woocommerce Settings > Payment > Manage (Your checkout) Active your API permission or information and you get solve.
Good luck
I was also face this type of problem but I was resolve with these instruction.
Enable define ( 'WP_DEBUG', true);
Goto checkout page and refresh page.
Now showing some warning and fatal error.
Solve fatal error and refresh again checkout page and now it's showing payment option and order place button.
I hope this instruction will help you.

Simple Paypal IPN integration in wordpress

I have a wordpress site with paypal button integrated. It works as expected. I want to use IPN to do the following after a successful payment:
1) Send Email to buyer
2) change the user role in wordpress
Question is how do I embed a standalone PHP file in wordpress which will be called by IPN and has access to wordpress functions ?
Ideally what you want to do is add a stand alone file in your theme root e.g. ipn.php, in it call wordpress core functions.
put this at the top of the ipn file.
<?php require_once("../../../wp-load.php");?>
now you can get all wordpress functions inside.

how to create plan subscription in wordpress plugin so no one can play with the code?

I am confuse about plan subscription development in plugin, because if user download the whole plugin coding file then he/she can change the any of the code in plugin.
so how can develop this type of plugin. And also backupbuddy, gravityforms also make this type of annual subscription plan and if user make to code change in backupbuddy then deactivate the plugin but i can't understand the code which type of security in those plugin.
So, please suggest me how to develop.
I think Backup-buddy and gravity forms are used "filemtime" function for security purpose,because there are no any way to prevent user to modify code. because wordpress plugin are fully under control in user (open source).

wordpress restrict pulgin installation to those who have a unique code

i want to make an wordpress plugin, and to put it public, but i want that only the users that have a certain unique code to be able to activate it.
is there possible using the wordpress api to ask for a unique code at plugin activation (and to condition the plugin activation by this code)? I searched wordpress codex, but nothing found.
thanks a lot!
This sounds like the old akismet plugin which required users to register for an API token. You can as part of your plugin require users to enter settings and at this point prompt them to register for an API key.
See the WordPress codex for adding an options page.
Also see this example for a good example of hooking into the plugin activation:

Resources