Giter VIP home page Giter VIP logo

buckaroo-php-sdk's People

Contributors

nikoskalaitzis avatar

Watchers

 avatar

buckaroo-php-sdk's Issues

Feature request - Allow iDeal payments without issuer

Hi there,

FIrst of all; thanks for creating this SDK. It saved me some time figuring out the Buckaroo API.

I tried creating an iDeal payment with action "Pay" without adding an issuer to the service which resulted in this error:

PHP Fatal error:  Uncaught Buckaroo\Exceptions\UndefinedIssuerForServicePayActionException in vendor/thanpa/buckaroo-php-sdk/src/Validators/ServiceValidator.php:41

The documentation of the Buckaroo API states the following about the issuer parameter (https://dev.buckaroo.nl/PaymentMethods/Description/ideal):

BIC code of the issuing bank of the consumer. Please refer to the list of banks in the general section for the list of BIC codes. This information is required, but it is possible to let the customer fill it in on the Buckaroo checkout page. In that case, leave the Issuer parameter out and add the basic parameter "ContinueOnIncomplete" with a value of 1.

I will add a "Select your bank" select in my checkout for now, but perhaps it would be nice to implement the possibility to create iDeal payments without an issuer.

Best regards,

Peter ten Hoor

Transaction retrieval

Implement a get method in the buckaroo master class to retrieve a transaction by the key

Add validators

Add validator classes for:
Url (done)
Service (reflection) (done)
Currency (done)
RequestInformation: type (done)
Transaction: mutation type, continue on incomplete (done)

Add validation for service

Validation for method. When method is pay, validation for issuer and issuing bank value. When method is refund, validation for OriginalTransaction.

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.