Paypal Credit Card box doesnt load
-
Hi, I have installed the module into my Woo commerce store and when I go to checkout, the fields will not load. It sits there partially faded with a loading ball on the order totals and credit card fields:
Here is a screenshot link: https://d.pr/i/NGpH
Any thoughts? I am not using sandbox, live and entered in the api username, password and signature.
See Screenshot: https://d.pr/i/18Hvb
Thanks for any help.
-
There must be a jQuery conflict going on, or a PHP error happening in the result. Are you familiar with troubleshooting using Firebug? If not give me your site URL and I’ll take a look.
I can send the link privately if that is an option.
Yes I understand how to use Firebug, this is what I see in the Console -> All
Screenshot: https://d.pr/i/NMgY
What is showing up under those POST drop downs?
First one:
{"fragments":{"div.widget_shopping_cart_content":"<div class=\"widget_shopping_cart_content\">\n\n<ul class=\"cart_list product_list_widget \">\n\n\t\n\t\t\t\t\t\t\t<li class=\"mini_cart_item\">\n\t\t\t \t\t\t<a href=\"https:\/\/domainname.com\/cart?remove_item=258e130476290221f597c56d351224b6& ;_wpnonce=228a5a5b16\" class=\"remove\" title=\"Remove this item\" data-product_id=\"3753\" data-product_sku =\"PRODUCT15\">×<\/a>\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/domainname.com\/product \/product-of-the-heart\”>\n\t\t\t\t\t\t\t\t<img width=\"90\" height=\"90\" src=\"\/\/domainname .com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-90x90.png\" class=\"attachment-shop_thumbnail size-shop_thumbnail wp-post-image\" alt=\"xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2\" srcset=\" \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-150x150 .png 150w, \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-90x90 .png 90w, \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-300x300 .png 300w\" sizes=\"(max-width: 90px) 100vw, 90px\" \/>Product from the Heart \t\t\t\t\t \t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<span class=\"quantity\">1 × <span class=\"amount \">$25.00<\/span><\/span>\t\t\t\t\t<\/li>\n\t\t\t\t\t\n\t\n<\/ul><!-- end product list -->\n\n\n \t<p class=\"total\"><strong>Subtotal:<\/strong> <span class=\"amount\">$25.00<\/span><\/p>\n\n\t \n\t<p class=\"buttons\">\n\t\t<a href=\"https:\/\/domainname.com\/cart\" class=\"button wc-forward \">View Cart<\/a>\n\t\t<a href=\"https:\/\/domainname.com\/checkout\" class=\"button checkout wc-forward\">Checkout<\/a>\n\t<\/p>\n\n\n<\/div>"},"cart_hash":"e4a02c1d2a3560ed17dff2eb3383dcc2"}< !-- Really Simple SSL mixed content fixer active -->{"fragments":{"div.widget_shopping_cart_content":"<div class=\"widget_shopping_cart_content\">\n\n<ul class=\"cart_list product_list_widget \">\n\n\t\n\t\t\t\t\t\t\t<li class=\"mini_cart_item\">\n\t\t\t \t\t\t<a href=\"https:\/\/domainname.com\/cart?remove_item=258e130476290221f597c56d351224b6& ;_wpnonce=228a5a5b16\" class=\"remove\" title=\"Remove this item\" data-product_id=\"3753\" data-product_sku =\"PRODUCT15\">×<\/a>\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/domainname.com\/product \/product-from-the-heart\">\n\t\t\t\t\t\t\t\t<img width=\"90\" height=\"90\" src=\"\/\/domainname .com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-90x90.png\" class=\"attachment-shop_thumbnail size-shop_thumbnail wp-post-image\" alt=\"xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2\" srcset=\" \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-150x150 .png 150w, \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-90x90 .png 90w, \/\/domainname.com\/wp-content\/uploads\/xb512-b6a1a334-e3eb-4429-8e0b-e53ecdd97535-v2-300x300 .png 300w\" sizes=\"(max-width: 90px) 100vw, 90px\" \/>Product from the Heart \t\t\t\t\t \t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<span class=\"quantity\">1 × <span class=\"amount \">$25.00<\/span><\/span>\t\t\t\t\t<\/li>\n\t\t\t\t\t\n\t\n<\/ul><!-- end product list -->\n\n\n \t<p class=\"total\"><strong>Subtotal:<\/strong> <span class=\"amount\">$25.00<\/span><\/p>\n\n\t \n\t<p class=\"buttons\">\n\t\t<a href=\"https:\/\/domainname.com\/cart\" class=\"button wc-forward \">View Cart<\/a>\n\t\t<a href=\"https:\/\/domainname.com\/checkout\" class=\"button checkout wc-forward\">Checkout<\/a>\n\t<\/p>\n\n\n<\/div>"},"cart_hash":"e4a02c1d2a3560ed17dff2eb3383dcc2"}< !-- Really Simple SSL mixed content fixer active -->
Second one:
{"result":"success","messages":"","reload":"false","fragments":{".woocommerce-checkout-review-order-table" :"<table class=\"shop_table woocommerce-checkout-review-order-table\">\n\t<thead>\n\t\t<tr>\n\t\t\t<th class=\"product-name\">Product<\/th>\n\t\t\t<th class=\"product-total\">Total<\/th>\n\t\t<\/tr>\n\t <\/thead>\n\t<tbody>\n\t\t\t\t\t\t\t<tr class=\"cart_item\">\n\t\t\t\t\t\t<td class=\"product-name\" >\n\t\t\t\t\t\t\tproduct from the heart \t\t\t\t\t\t\t <strong class=\"product-quantity\" >× 1<\/strong>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\n\t\t\t\t\t\t<td class=\"product-total\">\n\t\t \t\t\t\t\t<span class=\"amount\">$25.00<\/span>\t\t\t\t\t\t<\/td>\n\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t <\/tbody>\n\t<tfoot>\n\n\t\t<tr class=\"cart-subtotal\">\n\t\t\t<th>Subtotal<\/th>\n\t\t\t<td><span class =\"amount\">$25.00<\/span><\/td>\n\t\t<\/tr>\n\n\t\t\n\t\t\n\t\t\t\n\t\t\t<tr class=\"shipping\" >\n\t<th>Shipping<\/th>\n\t<td data-title=\"Shipping\">\n\t\t\t\t\t<p>There are no shipping methods available . Please double check your address, or contact us if you need any help.<\/p>\n\t\t\n\t\t\n\t\t\t<\/td >\n<\/tr>\n\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t<tr class=\"order-total\">\n\t\t\t<th>Total<\/th>\n \t\t\t<td><strong><span class=\"amount\">$25.00<\/span><\/strong> <\/td>\n\t\t<\/tr>\n\n\t\t\n\t <\/tfoot>\n<\/table>\n",".woocommerce-checkout-payment":"<div id=\"payment\" class=\"woocommerce-checkout-payment \">\n\t\t\t<ul class=\"wc_payment_methods payment_methods methods\">\n\t\t\t<li class=\"wc_payment_method payment_method_paypal_pro\">\n\t<input id=\"payment_method_paypal_pro\" type=\"radio\" class=\"input-radio \" name=\"payment_method\" value=\"paypal_pro\" checked='checked' data-order_button_text=\"\" \/>\n \n\t<label for=\"payment_method_paypal_pro\">\n\t\tCredit card <img src=\"https:\/\/domainname .com\/wp-content\/plugins\/paypal-for-woocommerce\/assets\/images\/cards.png\" alt=\"Credit card\" \ />\t<\/label>\n\t\t\t<div class=\"payment_box payment_method_paypal_pro\" >\n\t\t\t<p>Pay with your credit card\t\t<fieldset id=\"paypal_pro-cc-form\">\n\t\t\t\t\t\t<p class=\"form-row form-row-wide\">\r\n\t \t\t\t<label for=\"paypal_pro-card-number\">Credit Card Number <span class=\"required\">*<\/span><\/label >\r\n\t\t\t\t<input id=\"paypal_pro-card-number\" class=\"input-text wc-credit-card-form-card-number \" type=\"text\" maxlength=\"20\" autocomplete=\"off\" placeholder=\"\u2022\u2022\u2022\u2022 \u2022 \u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022\" name=\"paypal_pro-card-number \" \/>\r\n\t\t\t<\/p><p class=\"form-row form-row-first\"><label for=\"cc-expire-month\">Expiration Date <span class=\"required\">*<\/span><\/label><select name=\"paypal_pro_card_expiration_month\" id=\"cc-expire-month \" class=\"woocommerce-select woocommerce-cc-month mr5\"><option value=\"\">Month<\/option><option value =1>January<\/option><option value=2>February<\/option><option value=3>March<\/option><option value=4 >April<\/option><option value=5>May<\/option><option value=6>June<\/option><option value=7>July<\/option ><option value=8>August<\/option><option value=9>September<\/option><option value=10>October<\/option ><option value=11>November<\/option><option value=12>December<\/option><\/select><select name=\"paypal_pro_card_expiration_year \" id=\"cc-expire-year\" class=\"woocommerce-select woocommerce-cc-year ml5\"><option value=\"\">Year <\/option><option value=16>2016<\/option><option value=17>2017<\/option><option value=18>2018<\/option ><option value=19>2019<\/option><option value=20>2020<\/option><option value=21>2021<\/option><option value=22>2022<\/option><option value=23>2023<\/option><option value=24>2024<\/option><option value=25 >2025<\/option><option value=26>2026<\/option><option value=27>2027<\/option><option value=28>2028<\ /option><option value=29>2029<\/option><option value=30>2030<\/option><option value=31>2031<\/option ><\/select><\/p><p class=\"form-row form-row-last\">\r\n\t\t\t\t<label for=\"paypal_pro-card-cvc\">Card Security Code <span class=\"required\">*<\/span><\/label>\r\n\t\t\t\t<input id=\"paypal_pro-card-cvc \" class=\"input-text wc-credit-card-form-card-cvc\" type=\"text\" autocomplete=\"off\" placeholder= \"CVC\" name=\"paypal_pro-card-cvc\" \/>\r\n\t\t\t<\/p>\t\t\t\t\t\t<div class=\"clear\"><\/div>\n\t\t <\/fieldset>\n\t\t\t\t<\/div>\n\t<\/li>\n\t\t<\/ul>\n\t\t<div class=\"form-row place-order\">\n\t\t<noscript >\n\t\t\tSince your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals<\/em> button before placing your order. You may be charged more than the amount stated above if you fail to do so.\t\t\t<br\/><input type=\"submit\" class=\"button alt\" name=\"woocommerce_checkout_update_totals \" value=\"Update totals\" \/>\n\t\t<\/noscript>\n\n\t\t\n\t\t\n\t\t<input type=\"submit\" class=\"button alt\" name=\"woocommerce_checkout_place_order\" id=\"place_order\" value=\"Place order\" data-value =\"Place order\" \/>\n\t\t\n\t\t<input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"db9c8c8acf \" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/checkout?wc-ajax=update_order_review \" \/>\t<\/div>\n<\/div>\n"}}<!-- Really Simple SSL mixed content fixer active -->
It won’t let me post the code, here is a txt file attachment: https://d.pr/f/12jHz
Well, it seems it eventually showed up… Ill deactivate that link.
That’s not what I was expecting to see there. Please submit a ticket here and provide the URL so I can take a look.
To update everyone, I was using Really Simple SSL plugin and it was causing the issue. There was an upgrade available, upgraded and problem resolved.
Author’s reply:
I took a look at their changelog and the last update just says…
Bugfix with of insecure content fixer.
So the “insecure content fixer” seems to be the feature that you’re taking advantage of, and apparently they had a bug in it, which is most likely what was causing your problem, and why applying their update fixed it.
The good news is they seemed to address it pretty quickly.
Just to update everyone if someone else searches for a similar issue.
- The topic ‘Paypal Credit Card box doesnt load’ is closed to new replies.