Git Product home page Git Product logo

omnipay-payway-restapi's People

Contributors

arjunkishore avatar brucealdridge avatar rotassator avatar sudiptpa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

omnipay-payway-restapi's Issues

Invalid option passed to ssl.certificate_authority: cacert.pem

with out certificate i was getting
0 - [curl] 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify

but even after downloading and setting ssl certificate as described. i am getting
0 - Invalid option passed to ssl.certificate_authority: cacert.pem

Example Usage of omnipay-payway-restapi

@rotassator Can you add some sample usage of your package please ?
Such as
create and maintain customers
generate single-use tokens
take payments using tokenised credit card

It will be very helpful for someone new like me

Recurring billing

can you please help me to implement recurring billing? i saw the functions for creating customer and purchase w frequency params.

I dont know if i am doing correct, it would be great if you provide me a simple example.

Make a Purchase without creating new Customer

As per the trusted frame documentation, It is possible for us to make a payment transaction without creating new customer.
https://www.payway.com.au/docs/rest.html#transactions

This is possible if you send singleUseTokenId in
Message/PurchaseRequest.php data array line number 40

if($this->getSingleUseTokenId()){
$data['singleUseTokenId'] = $this->getSingleUseTokenId();
}

So the implementation will go like this
$gateway->setApiKeyPublic($this->publicKey);
$gateway->setApiKeySecret($this->secretKey);
$customerId = 'UNREGISTEDUSER01'; /// can be any value

        // process the payment
        $message = $gateway->purchase([
            'customerNumber' => $customerId,
            'singleUseTokenId' => $singleUseToken,
            'principalAmount' => 610.00,
            'currency' => 'AUD',
            'orderNumber' => 'ORDER'
        ]);
        $response = $message->send();

I hope someone will find this useful

Driver failed to install

Can you please help me to install the driver for payway? I am using latest laravel v8,40 on local xampp server

"require": {
"php": "^7.3|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.3",
"laravel/framework": "^8.40",
"laravel/tinker": "^2.5",
"league/omnipay": "^3.1",
"omnipay/common": "^3.0"
},
these packages installed successfully. but the issue with omnipay-payway

I am attaching screenshot from my command line-

westpac-payway

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.