I'm writing a module for Ubercart that hooks the checkout completed phase of purchasing. However I'm running into an issue actually running any tests.
My original plan was to use the Test Gateway for development, then push out this module onto production with Paypal and Google Checkout as payment gateways. Once I get it going I can afford an SSL certificate.
However right now I don't have an SSL certificate, and this is preventing Test Gateway from running since it depends on the Credit Card Module, which requires SSL. Surprisingly the debug mode option doesn't change this requirement.
At the top of every page I get an ominous warning:
Checkout cannot be completed without any payment methods enabled. Please contact an administrator to resolve the issue.
And at the top of the Payment Settings page I get:
Credit card encryption must be configured to accept credit card payments.
Is there any way to force the Credit Card module to work in debug mode without SSL?
If you enable "Test Gateway", go here http://YOURSITE/admin/store/settings/payment/edit/methods (Administer › Store administration › Configuration › Payment settings)
Expand "Credit card settings", in "Card number encryption key filepath" enter path outside of your site. "
On "Accepted card types" select any credit card. And investigate more settings there.
Now try buy some product, and checkout it, select card for payment, it will automatically complete order (full payment imitation).See testing numbers for credit cards, CVV can be any number, enter higher Expiration date than current date.
Use sandboxes for testing Paypal and Google Checkout for testing these "gates".
Related
I want to know if there would be a way to find out the history of a refund made via a 3rd party payment gateway plugin that uses Woocommerce.
Where do I begin if it is possible? I already messaged the plugin provider. I want to see if I could get it started before they reply.
More details. The refunds we made have failed, Woocommerce says it was successful. I want to investigate where the point of failure might be.
WooCommerce provides logs for transactions if you have enabled Log Debug Messages for the specific payment gateway provider (and also hoping that payment gateway provider is also providing logs).
To view the logs, you can go to WooCommerce >> Status >> Logs. And then, select the payment gateway from the dropdown and see what’s in there.
I am using PayPal standard to make transactions in a WordPress website. I've set the API credentials and works perfectly means the transactions are done perfectly. But when I open the SandBox buyer account, I can see the following with pending status and the payments don't appear in the seller's account:
I've seen the PayPal official site to check this out and they say, sometimes they put on hold for verification. I would like to know if anyone has faced it before and how will this be available or completed later?
I've one another thing to know - I've used the PayPal Express Checkout plugin for transactions. But in the dashboard, it says WooCommerce Gateway PayPal Express Checkout requires OpenSSL >= 1.0.1 to be installed on your server and doesn't show the feature in the WooCommerce checkout settings. So do I have to set SSL for that?
Note: I am doing the above in localhost using WAMP.
You can't use localhost it's not a valid URL, PayPal can't access your local enviornment.Local host cannot be resolved on distant machines in case Paypal server.
Best way upload to the web, there's a number of free PHP web hosts out there if you don't have one.
I have set-up a WooCommerce Subscription with Stripe Gateway. First payment for subscription is working fine, but automatic recurring billing/payment Monthly is not working with stripe, I also noticed that on the Woocommerce->Subscriptions total columns says "Via Manual Renewal" instead "Credit Card" or Stripe.
Can anyone provide me solution for this issue?
The subscriptions plugin may be in staging mode. This can happen if the domain of the site changes.
Go to WooCommerce > System Status and check the value of Subscriptions Mode under the Server Environment section.
When the subscriptions plugin is installed, it saves the current domain of the site. If this domain changes in the future, the subscriptions plugin will automatically enable staging mode to prevent duplicate payments. When this happens you will see a warning in the admin:
If you click Quit nagging me, the warning will be hidden but you will not get another chance to re-enable the automatic payments.
To show that warning message again, you'll need to reset the value of an option in the database. Set the value of wcs_ignore_duplicate_siteurl_notice to false in the wp_options table.
A faster way is to go to the All Settings page in your WordPress admin (/wp-admin/options.php), and reset it there.
See the WooCommerce Subscriptions documentation for more information: How Does Subscriptions Handle Staging Sites and Migrations?.
I know this old but this might help somebody.
That method by woocommerce did not work for me (https://docs.woocommerce.com/document/subscriptions-handles-staging-sites/#section-4).
What did work was changing another option in wp_options: wc_subscriptions_siteurl.
I changed the value to my current URL and it changed Subscriptions from Staging to Live, and all "Via Manual Renewal" messages were changed to "Via Credit Card (Stripe)" or "Via Paypal".
I have setup a woocommerce on website with Paypal chekout. The Paypal account is Business and settings are changed to "Paypal Account Optional" - on.
But the checkout still forces to create Paypal account without simple credit card checkout. Why?? What could be possible wrong here? Thank you!
Be sure the merchant account email address is confirmed.
When using Payments Standard it's all based on browser session cookies. If you've signed in to a PayPal account with that browser it assumes that's what you'll be doing in the future so it hides the guest checkout option a little more.
If you clear the browser cache/cookies, or use a fresh browser, you should see the guest checkout option more prominently displayed during checkout.
Express Checkout handles this a little better where rather than completely working from cookies you can make adjustments in your API calls. The PayPal for WooCommerce plugin provides Express Checkout so you could utilize this benefit. There are options in the plugin settings to adjust that accordingly.
It still looks a little different depending on your browser cache/cookies and the version of PayPal they've got you on, but in general the guest checkout (credit card) option is much more obvious to people when using Express Checkout with those options enabled.
I'm integrating paypal express checkout for digital goods into my website, and to show "pay
with credit card" option , I set the paypal account optional to ON, through "Profile -> More Options -> My Selling Tools -> Website Preferences" , and set the parameters "SOLUTIONTYPE" and "LANDING" to "Sole" and "Billing", respectively , and it worked very well in the paypal sandbox, but when going live, the "*pay with credit card *" option disappeared and paypal displayed "login to paypal" and "create paypal account" options, am i missing something?
In addition to the above, your PayPal account primary email address must be confirmed.
Since you already stated you enabled SOLUTIONTYPE=Sole in your coding.
Sometimes this happens if you have recently been logged in to your PayPal account. If you haven't tried clearing your cache and cookies, the other option out there would be to ensure your PayPal Account is enabled for Digital Goods. (Only if you are needing to use the Digital Goods API)
Digital Goods Sign Up
Once you have cleared your cache and cookies, ensured that you have signed up for digital goods (only if you are needing to use the Digital Goods API), this should resolve the issue.