Git Product home page Git Product logo

omnipay-quickpay's People

Contributors

archanium avatar jaisdk avatar rasmniel avatar sanderha avatar skurvish avatar thomasbnielsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

omnipay-quickpay's Issues

Call to undefined method Guzzle\Http\Client::request()

I'm using Aimeos extension with TYPO3 v9.5.14 to create a Shop website.

I have a problem with the return urls from the payment gateway to the website : continueurl / cancelurl / callbackurl . I get the following error

Call to undefined method Guzzle\Http\Client::request()
in /var/www/example.com/typo3conf/ext/aimeos_pay/Resources/Libraries/nobrainerweb/omnipay-quickpay/src/Message/CompleteRequest.php line 44

This is the code :

public function sendData($data)
{
    $httpResponse =  $this->httpClient->request('get', $this->getEndPoint() . '/payments/' . $this->getTransactionReference(),
        [
            'Authorization' => 'Basic ' . base64_encode(":" . $this->getApikey()),
            'Accept-Version' => 'v10',
            'Content-Type' => 'application/json'
        ]
    );
    return $this->response = new Response($this, $httpResponse->getBody()->getContents());
}

Guzzle is properly installed through Composer.

composer require guzzlehttp/guzzle

enter image description here

Omnipay 3.0

@JaisDK Would you mind doing a PR to the 3.0 branch I've created? That way we can have both our work in 1 repo

Any example?

Hey there,
i'm trying to implement the quickpay provider in one of our laravel projects.

I have managed to initialize the payment with $gateway->purchase($params)->send(); and the redirect is also working.
Using the returnUrl i also get redirected back to my page and it seems that also a notifyUrl gets called from quickpay.
But no matter if i try to receive the status on the return (which seems intended) or the nofify, i can't get any information back from quickpay.

Do you have a working example?

Thanks!

How to get status of purchase?

Using this api I can get a link and redirect to it. I can make the payment and am redirected back to my returnUrl. How do I then get the status of the transaction?

Of all the test cards I have tried when they are processed I get redirected to my returnUrl. If for any reason the card is rejected Quickpay simply advises that there has been an error, try again. It doesn't really tell me what the error is. If I cancel then I am redirected to my cancelUrl. I would like to be able to get some information on the reason for the rejection so I can log it.

Any help would be appreciated.

Call to undefined method Omnipay\Quickpay\Message\Notification::send()

I setup a TYPO3 web site and Aimeos extension using composer and I added :

"league/omnipay": "^3",
"nobrainerweb/omnipay-quickpay": "^3.0"

Everything is functional except the callbackurl ... I get this error HTTP Status code: 500

After some diagnosis I found this error :

Call to undefined method Omnipay\Quickpay\Message\Notification::send()
in /var/www/example.com/public/typo3conf/ext/aimeos/Resources/Private/Extensions/ai-payments/lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php line 504

Screenshot : https://i.ibb.co/5h1Bsyv/eror.jpg

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.