thanpa / buckaroo-php-sdk Goto Github PK
View Code? Open in Web Editor NEWThis is a lite SDK for the buckaroo payment provider API
This is a lite SDK for the buckaroo payment provider API
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
Implement a get method in the buckaroo master class to retrieve a transaction by the key
This issue is closed because it was implemented in ISSUE #15
Add validator classes for:
Url (done)
Service (reflection) (done)
Currency (done)
RequestInformation: type (done)
Transaction: mutation type, continue on incomplete (done)
Validation for method. When method is pay, validation for issuer and issuing bank value. When method is refund, validation for OriginalTransaction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.