WooCommerce Stripe API Needing Fixed
- or -
Post a project like this1142
£20(approx. $25)
- Posted:
- Proposals: 6
- Remote
- #3170849
- PRE-FUNDED
- Awarded
Expert in Website Development|| App Development ||Digital Marketing || Designing || Mobile Application || SEO || Server Admin
Jaipur
Professional Software Developer (Windows, Web and Mobile Apps)
Mohali
✨ 11+ years of Exp. in iOS App, Android App, PHP, Symfony, eCommerce, WordPress, WooCommerce, Angular, Node, React, Full Stack ✨
Ahmedabad
5338509858091460852209926424614893142216
Description
Experience Level: Entry
Estimated project duration: 1 day or less
Hi All
I am needing the last bit for my project fixing, i cant seem to understand what is going wrong but I know there is something wrong.
I have created my own API on WordPress for my website / app, in my app I create a WooCommerce order and it returns back the Order ID, I also generate a card token for a customers card using Stripe JS, i then send these details to my API where I use WooCommerce Stripe to process the payment.
I am using IONIC 5, and the data sends to the API endpoint with no problems but i receive a critial error back, I believe this is because it is thinking i am making the payment from the website and not through the API, I need someone to look at my endpoint and fix the Stripe payment processing for it so the payment goes through.
All i require is for you to look at my code and fix the issue that is stopping the gateway processing the paymen, I will provide you with test data that you can test in Postman or whatever you want to use so you can see the error, the erro i am getting back is:
Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /home/sites/12b/8/8d342d0ac9/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php:
If i put a payment through the WooCommerce checkout this works with no issues, so i just need that process recreated for the API.
I am needing the last bit for my project fixing, i cant seem to understand what is going wrong but I know there is something wrong.
I have created my own API on WordPress for my website / app, in my app I create a WooCommerce order and it returns back the Order ID, I also generate a card token for a customers card using Stripe JS, i then send these details to my API where I use WooCommerce Stripe to process the payment.
I am using IONIC 5, and the data sends to the API endpoint with no problems but i receive a critial error back, I believe this is because it is thinking i am making the payment from the website and not through the API, I need someone to look at my endpoint and fix the Stripe payment processing for it so the payment goes through.
All i require is for you to look at my code and fix the issue that is stopping the gateway processing the paymen, I will provide you with test data that you can test in Postman or whatever you want to use so you can see the error, the erro i am getting back is:
Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /home/sites/12b/8/8d342d0ac9/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php:
If i put a payment through the WooCommerce checkout this works with no issues, so i just need that process recreated for the API.
Geordie A.
100% (20)Projects Completed
17
Freelancers worked with
17
Projects awarded
48%
Last project
15 Feb 2024
Pakistan
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies