Comments (14)
Did you configured ssl key & certificate file path ?
from woocommerce-gateway-stcpay.
Hello Sir,
Thank you for your reply. I can now enable the gateway after entering the private key file (this one was missing). But there is another issue, there is an error message stating that: "Could not process your request. Please try later, or use other payment gateway". The log file gives me the following error:
2023-09-15T12:12:13+00:00 INFO Stcpay API Error: cURL error 58: could not load PEM client certificate, OpenSSL error error:0909006C:PEM routines:get_name:no start line, (no key found, wrong pass phrase, or wrong file format?).
I have a .pfx file which I entered its path too. the merchant ID is correct. I tested every thing in postman and every thing is working properly. but from the website it's not working. I'm testing on localhost.
from woocommerce-gateway-stcpay.
I have removed the ssl certificate dependency. Try removing the ssl certificate setting fields value.
from woocommerce-gateway-stcpay.
I removed the values for the following fields:
Production SSL Cert File
Production SSL Key File
Production SSL Key Password
But unfortunately the problem didn't resolve. Now I get this log error:
INFO Stcpay API Error: Invalid merchant id or ssl certificates
from woocommerce-gateway-stcpay.
In that case stcpay gateway still requires the ssl certificate files to be defined.
Then you should try to debug your ssl certificate based on the error log you received earlier.
Reference: https://stackoverflow.com/a/63042717
from woocommerce-gateway-stcpay.
Sir, I entered the path to pfx file like this:
C:\wamp64\www\asfarok_2_9_2023\wp-content\plugins\woocommerce-gateway-stcpay\pfx\asfarokPfx.pfx
Is entering an absolute path like this correct? I'm working on localhost on windows machine.
from woocommerce-gateway-stcpay.
I changed the pfx file to .pem file and the payment completed without entering the OTP that has been sent to the mobile. the system didn't give me any thing to enter the OTP and the payment completed. What is the problem and how to solve it?
from woocommerce-gateway-stcpay.
Any help would be greatly appreciated.
from woocommerce-gateway-stcpay.
Can you shot a video of the whole checkout process ? As far i remember, the OTP should be entered on stcpay hosted confirmation page.
This plugin was developer few years ago, and not maintained with the latest changes.
from woocommerce-gateway-stcpay.
Hello Sir,
Here is the video and image, the image is a screenshot from the mobile phone with 2 messages: a message with the OTP code, and the other message is indicating that the payment was approved and the order placed (directly without entering the OTP code), and there was no field appeared to enter the OTP code.
stc-video.mp4
from woocommerce-gateway-stcpay.
Hello,
Did you find any solution?
from woocommerce-gateway-stcpay.
INFO Stcpay API Error: cURL error 6: Could not resolve host: b2btest.stcpay.com.sa
from woocommerce-gateway-stcpay.
I got this error
from woocommerce-gateway-stcpay.
The error indicates that their testing server url has changed. Please contact with them for the new URL.
Also, it's been a while since this plugin was last updated. If they make changes to their api, the plugin won't work without modification.
from woocommerce-gateway-stcpay.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-gateway-stcpay.