Stripe API
-
Hello WordPress Community,
I have a client who had a website built roughly 4 years ago, that has a 1 product store that connects directly to Stripe for the transaction. Unfortunately at some point in the last month the API broke & the website receives a critical error. And the website was built by a different developer years ago.I am reaching out to see if anyone has any insight (client is willing to pay) to fix the issue. My other option will be to rebuild it with WooCommerce but I would prefer to get the API fixed initially as I think that will be an easier fix.
The website looks to be using a custom PHP page to handle the transaction as there are only 3 plugins active, and none of them are related to processing the Stripe API.
The error code is below. Any help/assistance is appreciated to get the store back up & running.
Fatal error: Uncaught Stripe\Error\InvalidRequest: Shipping calculation failed: Shipping rates calculation failed with code: in /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiRequestor.php:124 Stack trace: #0 /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiRequestor.php(102): Stripe\ApiRequestor::_specificAPIError('{\n "error": {\n...', 400, Array, Array, Array) #1 /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiRequestor.php(309): Stripe\ApiRequestor->handleErrorResponse('{\n "error": {\n...', 400, Array, Array) #2 /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiRequestor.php(65): Stripe\ApiRequestor->_interpretResponse('{\n "error": {\n...', 400, Array) #3 /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiResource.php(119): Stripe\ApiRequestor->request('post', '/v1/orders', Array, Array) #4 /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiResource.php(158): Stripe\ApiResource::_staticRequest('post', '/v1/orders', Array, NULL) #5 in /nas/content/live/petshield/wp-content/themes/petshield/lib/ApiRequestor.php on line 124
The page I need help with: [log in to see the link]
- The topic ‘Stripe API’ is closed to new replies.