Comments (1)
Hello @mohamad19941994
Ok, let me describe how this package work after payment is completed,
After completing the process, the payment gateway redirects the user to success or error pages provided on the config file and .env file.
If you choose to use the default response_url
, which is /knet/response
and /knet/error
, the package will handle that response and update the table with the status that comes from the gateway, but if you decide to change the URL, you should handle the response by yourself.
Last thing, please note that theresponse_url
is to handle the response. If you want the user to go to another page after the handling, you can put a new env key, KENT_REDIRECT_URL
, in the '.env' file to decide where to redirect after handling the response.
finally, you can find more about handling responses on vendor/asciisd/knet/src/Http/Controllers/KnetController.php
from knet.
Related Issues (14)
- KnetTransactionUpdated event issue
- Required variables HOT 1
- Undefined variable: user HOT 5
- Calling (pay) method for none authenticated users HOT 13
- The payment attempt failed because additional action is required before it can be completed. HOT 5
- user pay method - Question
- Undefined variable: payment
- Installation Issue HOT 2
- (Error Code:Request_Resource_Not_Available) HOT 8
- CBK HOSTED KNET & T-PAY PAYMENT GATEWAY HOT 2
- open ssl issue HOT 2
- The payment attempt failed because additional action is required before it can be completed
- Redirct back error HOT 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 knet.