PayPal button works, direct Credit Card entry does not
-
Hello,
I just linked a new PayPal account to the Donation page using the “PayPal Donations” and a “Legacy Form”when I live test the website donation form and use the yellow PayPal button, I am able to process a credit card donation successfully, and I receive the success page.
when I use the “or pay with card” option, and I enter the credit card information directly on the website page, click the Donate button, the card is not processed. I see a spinner for a second or two, but I never receive a success page.
this problem occurs with FireFox and Chrome desktop browsers.
what could be the problem?
-
This is the same problem I am having and can say that it also does not work in Safari.
Hi folks,
We have seen this issue when these specific criteria are met:
1. PayPal Donations is the only payment gateway
2. You use the legacy donation form template, with Modal as Display optionsIf that does not apply to you, please post a link to your donation form so we can check out.
Thanks!
This is not the case for me. I have tried with having the PayPal Donation enabled with the PayPal Standard or the Offline option. Also, I am using the classic form template.
Here is the donation form
Hi, @efc8d good to know, thank you!
Hi @mrdaro, yes I am using the Legacy Form as the only Payment Gateway, and it is set to Default.
more options using Form>Form Template:
Display Style – Buttons
Display Options – All fields
Submit Button – Donate Today
Floating Labels – Global Option
Display Content – Disabled
Form Single Views – Enabled
Form Archives – Enabled
Form Excerpts – Disabled
Form Featured Image – Disabled
Single Form Sidebar – Disabledin addition, Settings>Default Options:
Name Title Prefix – Disabled
Company Field – Required
Last Name Field Required – Required
Anonymous Donations – Disabled
Donor Comments – DisabledSnippets:
Require Last Name – On
Add Occupation field – On (which is listed on the form as Required)
Edit tooltips – OnI tried turning off the “Require Last Name” snippet, since I now see that it is an option in Settings. now, after clicking Donate button, I receive “Please Wait” text in the button and a spinner that does not go away. this was in a Private Window in Firefox desktop.
I was able to get the on-form credit card to process today.
after making a few changes to the form, I believe that the change that allowed the credit card to process was by enabling Offline Donations. simply by having this radio button option appear on the form seems to have allowed the credit card processing to complete. I also receive the expected Success page.
I would call this unexpected success a workaround and not a solution. is there an explanation?
well, I spoke too soon.
now it seems that this problem is intermittent. there have been two different donors where their transactions did not go through using the credit card option on the form. they entered their card information, clicked Donate, then nothing, no Success Page.
this is very frustrating! what could be the problem?
more information:
I switched my form to the Classic Form. same results, donors are intermittently unable to use the Credit Card option. the PayPal button works fine with a credit card.
a suggestion is to simply remove this option, however, the credit card elements use an explicit style=”display:block;” and I am unable to override using display:none in CSS.
ideas?
Hi Steve,
I think your issue might be slightly different.
We’re currently tracking and working on this issue: https://feedback.givewp.com/bug-reports/p/paypal-donation-credit-card-fields-should-work-on-legacy-formThis issue does not render the CC fields correctly at all so donors cannot even enter their credit card details. If I’m understanding correctly, in your form, donors can enter their CC info but the donation won’t process.
Anytime there’s a payment error in the front-end, there’s a more detailed message in the back-end under Donations -> Tools -> Logs.
Click the eye icon next to any recent error message and copy/paste the full error message in your next reply.This will give us more context about the problem.
Hi Rick,
for each failed transaction, it looks like there are two entries in the Log: Uncaught Exception and Payment.
Uncaught Exception
Description: Failed event verification
Category: Uncaught Exception
Source: Give Core
Date & Time: 2022-04-23 23:16:21
Error details:exception:Give\Framework\Exceptions\Primitives\Exception Object ( [message:protected] => Failed event verification [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/wp-content/plugins/give/src/Controller/PayPalWebhooks.php [line:protected] => 88 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/wp-content/plugins/give/src/Route/PayPalWebhooks.php [line] => 25 [function] => handle [class] => Give\Controller\PayPalWebhooks [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/wp-includes/class-wp-hook.php [line] => 307 [function] => callController [class] => Give\Route\PayPalWebhooks [type] => -> [args] => Array ( [0] => WP Object ( [public_query_vars] => Array ( [0] => m [1] => p [2] => posts [3] => w [4] => cat [5] => withcomments [6] => withoutcomments [7] => s [8] => search [9] => exact [10] => sentence [11] => calendar [12] => page [13] => paged [14] => more [15] => tb [16] => pb [17] => author [18] => order [19] => orderby [20] => year [21] => monthnum [22] => day [23] => hour [24] => minute [25] => second [26] => name [27] => category_name [28] => tag [29] => feed [30] => author_name [31] => pagename [32] => page_id [33] => error [34] => attachment [35] => attachment_id [36] => subpost [37] => subpost_id [38] => preview [39] => robots [40] => favicon [41] => taxonomy [42] => term [43] => cpage [44] => post_type [45] => embed [46] => post_format [47] => give_forms [48] => calendar_category [49] => rest_route [50] => sitemap [51] => sitemap-subtype [52] => sitemap-stylesheet [53] => coblocks_pattern_type [54] => coblocks_pattern_category [55] => give-api [56] => token [57] => key [58] => query [59] => type [60] => form [61] => number [62] => date [63] => startdate [64] => enddate [65] => donor [66] => format [67] => id [68] => purchasekey [69] => email [70] => give-embed [71] => give-generate-donor-dashboard-page [72] => give-generated-donor-dashboard-page [73] => give_form_id [74] => url_prefix ) [private_query_vars] => Array ( [0] => offset [1] => posts_per_page [2] => posts_per_archive_page [3] => showposts [4] => nopaging [5] => post_type [6] => post_status [7] => category__in [8] => category__not_in [9] => category__and [10] => tag__in [11] => tag__not_in [12] => tag__and [13] => tag_slug__in [14] => tag_slug__and [15] => tag_id [16] => post_mime_type [17] => perm [18] => comments_per_page [19] => post__in [20] => post__not_in [21] => post_parent [22] => post_parent__in [23] => post_parent__not_in [24] => title [25] => fields ) [extra_query_vars] => Array ( ) [query_vars] => Array ( ) [query_string] => [request] => [matched_rule] => [matched_query] => [did_permalink] => ) ) ) [2] => Array ( [file] => /var/www/wp-includes/class-wp-hook.php [line] => 331 [function] => apply_filters [class] => WP_Hook [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => WP Object ( [public_query_vars] => Array ( [0] => m [1] => p [2] => posts [3] => w [4] => cat [5] => withcomments [6] => withoutcomments [7] => s [8] => search [9] => exact [10] => sentence [11] => calendar [12] => page [13] => paged [14] => more [15] => tb [16] => pb [17] => author [18] => order [19] => orderby [20] => year [21] => monthnum [22] => day [23] => hour [24] => minute [25] => second [26] => name [27] => category_name [28] => tag [29] => feed [30] => author_name [31] => pagename [32] => page_id [33] => error [34] => attachment [35] => attachment_id [36] => subpost [37] => subpost_id [38] => preview [39] => robots [40] => favicon [41] => taxonomy [42] => term [43] => cpage [44] => post_type [45] => embed [46] => post_format [47] => give_forms [48] => calendar_category [49] => rest_route [50] => sitemap [51] => sitemap-subtype [52] => sitemap-stylesheet [53] => coblocks_pattern_type [54] => coblocks_pattern_category [55] => give-api [56] => token [57] => key [58] => query [59] => type [60] => form [61] => number [62] => date [63] => startdate [64] => enddate [65] => donor [66] => format [67] => id [68] => purchasekey [69] => email [70] => give-embed [71] => give-generate-donor-dashboard-page [72] => give-generated-donor-dashboard-page [73] => give_form_id [74] => url_prefix ) [private_query_vars] => Array ( [0] => offset [1] => posts_per_page [2] => posts_per_archive_page [3] => showposts [4] => nopaging [5] => post_type [6] => post_status [7] => category__in [8] => category__not_in [9] => category__and [10] => tag__in [11] => tag__not_in [12] => tag__and [13] => tag_slug__in [14] => tag_slug__and [15] => tag_id [16] => post_mime_type [17] => perm [18] => comments_per_page [19] => post__in [20] => post__not_in [21] => post_parent [22] => post_parent__in [23] => post_parent__not_in [24] => title [25] => fields ) [extra_query_vars] => Array ( ) [query_vars] => Array ( ) [query_string] => [request] => [matched_rule] => [matched_query] => [did_permalink] => ) ) ) ) [3] => Array ( [file] => /var/www/wp-includes/plugin.php [line] => 522 [function] => do_action [class] => WP_Hook [type] => -> [args] => Array ( [0] => Array ( [0] => WP Object ( [public_query_vars] => Array ( [0] => m [1] => p [2] => posts [3] => w [4] => cat [5] => withcomments [6] => withoutcomments [7] => s [8] => search [9] => exact [10] => sentence [11] => calendar [12] => page [13] => paged [14] => more [15] => tb [16] => pb [17] => author [18] => order [19] => orderby [20] => year [21] => monthnum [22] => day [23] => hour [24] => minute [25] => second [26] => name [27] => category_name [28] => tag [29] => feed [30] => author_name [31] => pagename [32] => page_id [33] => error [34] => attachment [35] => attachment_id [36] => subpost [37] => subpost_id [38] => preview [39] => robots [40] => favicon [41] => taxonomy [42] => term [43] => cpage [44] => post_type [45] => embed [46] => post_format [47] => give_forms [48] => calendar_category [49] => rest_route [50] => sitemap [51] => sitemap-subtype [52] => sitemap-stylesheet [53] => coblocks_pattern_type [54] => coblocks_pattern_category [55] => give-api [56] => token [57] => key [58] => query [59] => type [60] => form [61] => number [62] => date [63] => startdate [64] => enddate [65] => donor [66] => format [67] => id [68] => purchasekey [69] => email [70] => give-embed [71] => give-generate-donor-dashboard-page [72] => give-generated-donor-dashboard-page [73] => give_form_id [74] => url_prefix ) [private_query_vars] => Array ( [0] => offset [1] => posts_per_page [2] => posts_per_archive_page [3] => showposts [4] => nopaging [5] => post_type [6] => post_status [7] => category__in [8] => category__not_in [9] => category__and [10] => tag__in [11] => tag__not_in [12] => tag__and [13] => tag_slug__in [14] => tag_slug__and [15] => tag_id [16] => post_mime_type [17] => perm [18] => comments_per_page [19] => post__in [20] => post__not_in [21] => post_parent [22] => post_parent__in [23] => post_parent__not_in [24] => title [25] => fields ) [extra_query_vars] => Array ( ) [query_vars] => Array ( ) [query_string] => [request] => [matched_rule] => [matched_query] => [did_permalink] => ) ) ) ) [4] => Array ( [file] => /var/www/wp-includes/class-wp.php [line] => 771 [function] => do_action_ref_array [args] => Array ( [0] => wp [1] => Array ( [0] => WP Object ( [public_query_vars] => Array ( [0] => m [1] => p [2] => posts [3] => w [4] => cat [5] => withcomments [6] => withoutcomments [7] => s [8] => search [9] => exact [10] => sentence [11] => calendar [12] => page [13] => paged [14] => more [15] => tb [16] => pb [17] => author [18] => order [19] => orderby [20] => year [21] => monthnum [22] => day [23] => hour [24] => minute [25] => second [26] => name [27] => category_name [28] => tag [29] => feed [30] => author_name [31] => pagename [32] => page_id [33] => error [34] => attachment [35] => attachment_id [36] => subpost [37] => subpost_id [38] => preview [39] => robots [40] => favicon [41] => taxonomy [42] => term [43] => cpage [44] => post_type [45] => embed [46] => post_format [47] => give_forms [48] => calendar_category [49] => rest_route [50] => sitemap [51] => sitemap-subtype [52] => sitemap-stylesheet [53] => coblocks_pattern_type [54] => coblocks_pattern_category [55] => give-api [56] => token [57] => key [58] => query [59] => type [60] => form [61] => number [62] => date [63] => startdate [64] => enddate [65] => donor [66] => format [67] => id [68] => purchasekey [69] => email [70] => give-embed [71] => give-generate-donor-dashboard-page [72] => give-generated-donor-dashboard-page [73] => give_form_id [74] => url_prefix ) [private_query_vars] => Array ( [0] => offset [1] => posts_per_page [2] => posts_per_archive_page [3] => showposts [4] => nopaging [5] => post_type [6] => post_status [7] => category__in [8] => category__not_in [9] => category__and [10] => tag__in [11] => tag__not_in [12] => tag__and [13] => tag_slug__in [14] => tag_slug__and [15] => tag_id [16] => post_mime_type [17] => perm [18] => comments_per_page [19] => post__in [20] => post__not_in [21] => post_parent [22] => post_parent__in [23] => post_parent__not_in [24] => title [25] => fields ) [extra_query_vars] => Array ( ) [query_vars] => Array ( ) [query_string] => [request] => [matched_rule] => [matched_query] => [did_permalink] => ) ) ) ) [5] => Array ( [file] => /var/www/wp-includes/functions.php [line] => 1310 [function] => main [class] => WP [type] => -> [args] => Array ( [0] => ) ) [6] => Array ( [file] => /var/www/wp-blog-header.php [line] => 16 [function] => wp [args] => Array ( ) ) [7] => Array ( [file] => /var/www/index.php [line] => 17 [args] => Array ( [0] => /var/www/wp-blog-header.php ) [function] => require ) ) [previous:Exception:private] => )
Payment
Description: Failed webhook event verification
Category: Payment
Source: Give Core
Date & Time: 2022-04-23 23:16:21
Error details:post_title:Failed webhook event verification post_content:Array ( [merchant] => Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail Object ( [merchantId] => [email protected] [merchantIdInPayPal] => UV2TYGTBEWK6J [clientId] => Acf3jrYjeWNGi35hm9Wdfi0qkgnU2OzOeQQUybsAfwRsR54pmLxehXxfLW72b7lSV3n6aEIEXlOP6xOt [clientSecret] => EDEkraTCBZmZHLqBrW3Vw6vC95TiZ8pjbQHB_bAo84YQjDtSovpmhKe0n5l_TJomUoPCP75k3n9bOGOe [accessToken] => A21AAOpoowygLFlFBbMjIy9rPIvsUysCCfuvVcSyRV2IAsfOLTocg5If1O5oa-zY06pNMNARyz2XXjCDILK2wvWG1gSGpxSzg [accountIsReady] => 1 [supportsCustomPayments] => 1 [accountCountry] => US [tokenDetails:Give\PaymentGateways\PayPalCommerce\Models\MerchantDetail:private] => Array ( [scope] => https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/services/payments/initiatepayment https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks [accessToken] => A21AAOpoowygLFlFBbMjIy9rPIvsUysCCfuvVcSyRV2IAsfOLTocg5If1O5oa-zY06pNMNARyz2XXjCDILK2wvWG1gSGpxSzg [tokenType] => Bearer [appId] => APP-4XJ900516E275970W [expiresIn] => 32400 [nonce] => 2022-04-23T12:01:02Zt9dFOhvEJ4hRo563Magt5xGPxahJH2B8Vhz-pj_OzvU ) ) [event] => stdClass Object ( [id] => WH-2T752069BU138130P-0CN179600Y937064K [event_version] => 1.0 [create_time] => 2022-04-23T21:04:23.321Z [resource_type] => capture [resource_version] => 2.0 [event_type] => PAYMENT.CAPTURE.COMPLETED [summary] => Payment completed for $ 1.0 USD [resource] => stdClass Object ( [id] => 79W641330V4275232 [amount] => stdClass Object ( [currency_code] => USD [value] => 1.00 ) [final_capture] => 1 [seller_protection] => stdClass Object ( [status] => NOT_ELIGIBLE ) [disbursement_mode] => INSTANT [seller_receivable_breakdown] => stdClass Object ( [gross_amount] => stdClass Object ( [currency_code] => USD [value] => 1.00 ) [paypal_fee] => stdClass Object ( [currency_code] => USD [value] => 0.52 ) [net_amount] => stdClass Object ( [currency_code] => USD [value] => 0.48 ) ) [status] => COMPLETED [processor_response] => stdClass Object ( [avs_code] => Z [cvv_code] => M [response_code] => 0000 ) [supplementary_data] => stdClass Object ( [related_ids] => stdClass Object ( [order_id] => 80L22983BW356811F ) ) [create_time] => 2022-04-23T21:04:05Z [update_time] => 2022-04-23T21:04:05Z [links] => Array ( [0] => stdClass Object ( [href] => https://api.paypal.com/v2/payments/captures/79W641330V4275232 [rel] => self [method] => GET ) [1] => stdClass Object ( [href] => https://api.paypal.com/v2/payments/captures/79W641330V4275232/refund [rel] => refund [method] => POST ) [2] => stdClass Object ( [href] => https://api.paypal.com/v2/checkout/orders/80L22983BW356811F [rel] => up [method] => GET ) ) ) [links] => Array ( [0] => stdClass Object ( [href] => https://api.paypal.com/v1/notifications/webhooks-events/WH-2T752069BU138130P-0CN179600Y937064K [rel] => self [method] => GET ) [1] => stdClass Object ( [href] => https://api.paypal.com/v1/notifications/webhooks-events/WH-2T752069BU138130P-0CN179600Y937064K/resend [rel] => resend [method] => POST ) ) ) [headers] => Array ( [X-Varnish] => 251607014 [X-Ua-Device] => pc [X-Request-Id] => 0877d2aa46f859b59353d4ffd0af45ec [X-Real-Ip] => 173.0.81.65 [X-Mwp-Wp-Version] => 5.9.3_4.23.3 [X-Mwp-Siteid] => 44198287 [X-Mwp-Pod] => p3pewpnas03pod06_data04 [X-Mwp-Php-Version] => 7.4 [X-Forwarded-Proto] => https [X-Forwarded-For] => 173.0.81.65, 127.0.0.1, 184.168.224.34, 0.0.0.0, 173.0.81.65 [X-Epoch-Time] => 1650755780 [X-Client-Ip] => 173.0.81.65 [X-B3-Spanid] => c140d56b5694e1dd [Via] => HTTPS/1.1 p3nlwpproxy007.prod.phx3.secureserver.net [Paypal-Transmission-Time] => 2022-04-23T21:05:09Z [Paypal-Transmission-Sig] => LvGhcO8QOTPJMmhiXhBbwqRico7lIyHrUhTtBMdftMDZ9Est/HpYdMrKlLJUnTqm/23YDKcaGqCXWeRNiwGo5V98jegGWkQsvs3t9HvwGuRC8LO4IEGOkqHIZAOqLMvKFdW0dmyAqTJzKUOIjtqEosJGLPRWb3U/eNUO3fdfXyN+woQ3jNA1iw4A6IpjCaLW05UyZlkNwxbiNbENHAW3Jd2ZkqjlR3ETnUcXLYQJbhA2Zxi2hOwwpKpXpwg6DOeI7Ijl1qwORxvUy0YkJbGXQngUa9bSf87M8y375UKlEJYd2ysU1mQtPgKdegx8XIa07fl2FH9wQjv48BopFZT8lw== [Paypal-Transmission-Id] => 0f3f2c30-c349-11ec-b33d-f71d28dbbc8e [Paypal-Cert-Url] => https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689 [Paypal-Auth-Version] => v2 [Paypal-Auth-Algo] => SHA256withRSA [Correlation-Id] => bbc406c096143 [Content-Type] => application/json [Accept-Encoding] => gzip [Accept] => */* [Content-Length] => 1467 [User-Agent] => PayPal/AUHR-214.0-56015767 [Host] => ld12gop.org [Authorization] => ) ) post_parent:0 log_type:gateway_error file:/var/www/wp-content/plugins/give/includes/gateways/functions.php line:260 function:add class:Give_Logging
Hi Rick,
looks like this problem has been going on for over a year?!
https://www.ads-software.com/support/topic/paypal-credit-card-option-not-working/
I switched to PayPal Standard today. it works, but now Offline Donations do not work. I will open a new ticket on this problem.
anxiously waiting for a solution.
Hi Steve,
The first link was for a similar issue that was fixed but Paypal is unreliable, to say the least. The new issue (second link) just came up. It has been reported by a handful of people and that’s enough for us to ring the bells.
I’ll close this ticket now but I’ll ping back as soon as we have any news.
Thanks!
- The topic ‘PayPal button works, direct Credit Card entry does not’ is closed to new replies.