GithubHelp home page GithubHelp logo

Comments (1)

aemaddin avatar aemaddin commented on July 21, 2024 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.