worldpay | A PHP wrapper for WorldPay

 by   philipbrown PHP Version: Current License: MIT

kandi X-RAY | worldpay Summary

kandi X-RAY | worldpay Summary

worldpay is a PHP library. worldpay has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

WorldPay is an easy to use payment gateway that is widely recognised and trusted. However, just about everything about the service is out of date. One of the most frustrating things about using WorldPay is the woeful lack of good documentation or official libraries. The result of this is, WorldPay's documentation is fragmented or incomplete and code examples are completely inadequate. WorldPay also seems to make everything a lot more complicated than it needs to be. I decided to make this package to abstract a lot of these complications away and instead provide a clear and easy to use API for creating WorldPay requests and listening for responses. This package will also be well unit tested and available through PHP Composer as a framework agnostic package. Note: If you are looking to integrate many payment gateways into your application, and you aren't going to be using all of WorldPay's features (e.g FuturePay or custom parameters) you should probably use Omnipay instead.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              worldpay has a low active ecosystem.
              It has 22 star(s) with 13 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 6 have been closed. On average issues are closed in 21 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of worldpay is current.

            kandi-Quality Quality

              worldpay has 0 bugs and 0 code smells.

            kandi-Security Security

              worldpay has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              worldpay code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              worldpay is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              worldpay releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              worldpay saves you 294 person hours of effort in developing the same functionality from scratch.
              It has 709 lines of code, 56 functions and 14 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed worldpay and discovered the below as its top functions. This is intended to give you an instant insight into worldpay implemented functionality, and help decide if they suit your requirements.
            • Generates a signature based on the parameters .
            • Get the request parameters .
            • Prepares the body
            • Send the request .
            • Convert to int
            • Determine if the environment is production .
            • Is development mode?
            • Returns true if the result is successful .
            • Validate the callback .
            • Set the environment
            Get all kandi verified functions for this library.

            worldpay Key Features

            No Key Features are available at this moment for worldpay.

            worldpay Examples and Code Snippets

            No Code Snippets are available at this moment for worldpay.

            Community Discussions

            QUESTION

            How to integrate worldpay payment gateway with django app?
            Asked 2021-May-11 at 09:20

            I am trying to integrate worldpay payment gateway into my django app. In their documentation there is only cURL provided for reference. Can anyone help me how to get started with it using python requests or urllib module?

            You can test this project out with this repo: https://github.com/Hinal1012/payment-demo.git

            ...

            ANSWER

            Answered 2021-May-11 at 09:20

            Solved... I think this issue was a bug in their system. Because the team was migratng existing community to new platform. Now it's working. Thanks.

            Source https://stackoverflow.com/questions/67345603

            QUESTION

            PHP Destroy Session on Page Refresh or Exit
            Asked 2020-Oct-22 at 10:43

            I am working on a PHP application that allows users to process a payment online. The process is as follows;

            • user visits /index.php and selects button to 'pay now'
            • user is redirected to worldpay and payment is processed
            • after successful payment worldpay sends a success parameter to my /callback.php and this is where I set $_SESSION[status] = 'success' before redirecting back to /index.php

            This all works as expected, if the payment was a success I am able to display a success message, however the message remains even when the user visits other pages of the site and returns to /index.php, it also remains if browser tab is closed and re-opened.

            In my /callback.php file I have;

            ...

            ANSWER

            Answered 2020-Oct-22 at 10:43

            Maybe you can unset the $_SESSION['status'] after displaying the success message ONCE.

            Source https://stackoverflow.com/questions/64480151

            QUESTION

            Apple Pay with WorldPay integration - extracting payload
            Asked 2020-Oct-07 at 15:28

            On Xamarin Forms, I am trying to send an Apple Pay payload to WorldPay (payment gateway). It has a guide on what the request should look like, and here is a short snippet:

            ...

            ANSWER

            Answered 2020-Oct-07 at 15:28

            Finally figured it out.

            Step 1: Do not use an emulator! Emulators do not have a payload!

            Step 2: Payload is inside PKPayment.Token.PaymentData

            Step 3: Convert it to string: PaymentData.ToString()

            End Result: string payload = payment.Token.PaymentData.ToString(); Result will be in JSON format and will contain everything that is required in the question.

            Source https://stackoverflow.com/questions/64212380

            QUESTION

            Post XML with TidHttp Invalid request
            Asked 2020-Feb-28 at 22:06

            I'm trying to post an XML file using Delphi 2007 to make a transaction with WorldPay, but I keep getting an "Invalid request" error.

            Here is my code, I can't figure out what I'm doing wrong.

            ...

            ANSWER

            Answered 2020-Feb-28 at 22:06

            Well, for starters, you are telling the server that you are posting HTML instead of XML. 'text/html' is the wrong Content-Type for XML.

            Second, you are not escaping the values you insert into your XML, if they happen to contain any reserved characters. You really should be using a proper XML library to prepare your post data.

            Lastly, your exception handling is not structured very well.

            Try this instead:

            Source https://stackoverflow.com/questions/60457899

            QUESTION

            cookie associated with a cross-site resource at was set without the `SameSite` attribute when submitting a form
            Asked 2020-Feb-01 at 16:11

            I have a worldpay form on a client website and it won't work on ipads without disabling an prevent cross-site tracking on safari. It seems to be related to cross site cookies.

            The form looks like this:

            ...

            ANSWER

            Answered 2020-Feb-01 at 16:10

            I managed to fix this. It was, I did have my own cookie solution already:

            Source https://stackoverflow.com/questions/59958931

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install worldpay

            Add philipbrown/worldpay as a requirement to composer.json:. Update your packages with composer update.
            When you create a new installation in your WorldPay account, it will be automatically assigned an instId. When making a request to WorldPay you need to provide this id. WorldPay also allows you to set a cartId that will be attached to the request. This will make it easier to dertermine where transactions originate from.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/philipbrown/worldpay.git

          • CLI

            gh repo clone philipbrown/worldpay

          • sshUrl

            git@github.com:philipbrown/worldpay.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link