leadfoot12000
Forum Replies Created
-
Hi Rick
I seem to have solved the issue. I was running php 8.0 and went back to 7.4 All is working ok now.
Thanks again for your help
@mrdaro thanks so much for taking the time to reply. I have just been able to reply to your response.
I will check with the host asap and see if cURL is active and working.
This is the error sent to me from the website. I should have included it above. Pletrase let me know if it changes any of what you have sent me. And please bear with me as I am a very amateur web guy trying to run a charity and a website…
Error Details ============= An error of type E_ERROR was caused in line 402 of the file /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiRequestor.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Stripe\Util\CaseInsensitiveArray given in /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiRequestor.php:402 Stack trace: #0 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiRequestor.php(402): array_key_exists('request-id', Object(Stripe\Util\CaseInsensitiveArray)) #1 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiRequestor.php(125): Stripe\ApiRequestor->_requestRaw('get', '/v1/accounts/ac...', Array, Array) #2 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiResource.php(62): Stripe\ApiRequestor->request('get', '/v1/accounts/ac...', Array, Array) #3 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiOperations/Retrieve.php(24): Stripe\ApiResource->refresh() #4 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/Account.php(114): Stripe\Account::_retrieve('acct_1GIXHhKmoH...', Object(Stripe\Util\RequestOptions)) #5 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/give-stripe-helpers.php(1532): Stripe\Account::retrieve('acct_1GIXHhKmoH...') #6 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/admin/admin-actions.php(63): give_stripe_get_account_details('acct_1GIXHhKmoH...') #7 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(292): give_stripe_connect_save_options('') #8 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #9 /home/truckerschristma/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #10 /home/truckerschristma/public_html/wp-admin/admin.php(175): do_action('admin_init') #11 /home/truckerschristma/public_html/wp-admin/edit.php(10): require_once('/home/truckersc...') #12 {main} thrownEDIT: I tried the fix in the video that you linked to but still have same error.
- This reply was modified 5 years ago by leadfoot12000.
The first issue that brought the problem to my attention was the Stripe webhook stopped working. I think the webhook is working again but still have the above issues
This is the latest error message from the logs:
post_title:Stripe Error post_content:The Stripe Gateway returned an error while creating the customer. Details: #0 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiRequestor.php(125): Stripe\ApiRequestor->_requestRaw('post', '/v1/customers', Array, Array) #1 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(57): Stripe\ApiRequestor->request('post', '/v1/customers', Array, Array) #2 /home/truckerschristma/public_html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiOperations/Create.php(23): Stripe\ApiResource::_staticRequest('post', '/v1/customers', Array, Array) #3 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/class-give-stripe-customer.php(369): Stripe\Customer::create(Array, Array) #4 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/class-give-stripe-customer.php(201): Give_Stripe_Customer->create_customer() #5 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/class-give-stripe-customer.php(109): Give_Stripe_Customer->get_or_create_customer() #6 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/stripe/includes/payment-methods/class-give-stripe-checkout.php(147): Give_Stripe_Customer->__construct('[email protected]', 0) #7 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(292): Give_Stripe_Checkout->process_payment(Array) #8 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #9 /home/truckerschristma/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #10 /home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/functions.php(186): do_action('give_gateway_st...', Array) #11 /home/truckerschristma/public_html/wp-content/plugins/give/includes/process-donation.php(213): give_send_to_gateway('stripe_checkout', Array) #12 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(292): give_process_donation_form(Array) #13 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #14 /home/truckerschristma/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #15 /home/truckerschristma/public_html/wp-content/plugins/give/includes/actions.php(88): do_action('give_purchase', Array) #16 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(292): give_post_actions('') #17 /home/truckerschristma/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #18 /home/truckerschristma/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #19 /home/truckerschristma/public_html/wp-settings.php(560): do_action('init') #20 /home/truckerschristma/public_html/wp-config.php(86): require_once('/home/truckersc...') #21 /home/truckerschristma/public_html/wp-load.php(37): require_once('/home/truckersc...') #22 /home/truckerschristma/public_html/wp-blog-header.php(13): require_once('/home/truckersc...') #23 /home/truckerschristma/public_html/index.php(17): require('/home/truckersc...') #24 {main} post_parent:0 log_type:gateway_error file:/home/truckerschristma/public_html/wp-content/plugins/give/includes/gateways/functions.php line:251 function:add class:Give_Loggingok will do… Sorry new here
I am having similar issue. On IOS either ipad or iphone it wont change donation type. It is set by default to paypal. If I try to switch it to offline donation it shows loading and just hangs there forever. And if you continue to try and make an offline donation on the IOS it takes you to paypal. Oh and I just noticed that it works on IOS on the donate page where its the only thing on the page. Its not working when its on the sidebars. Same using chrome and safari.
Go figure… Works fine on both of my pc’surl: http://www.truckerschristmasgroup.org
any help would be appreciated. Should I start a new ticket or here is ok. I chose here because seems like similar issue