bitbagcommerce / syliusadyenplugin_old Goto Github PK
View Code? Open in Web Editor NEWSylius Adyen payments integration.
Sylius Adyen payments integration.
Hello,
There is a small naming error on the ModificationRequestAdyenBridgeInteface file and class => ModificationRequestAdyenBridgeInterface
See you soon.
Hey!
first of all, thank you for this Plugin! ๐
Would you create a new tag? Currently, the latest stable version isn't useable in newer versions of sylius, because all services are private by default.
This commit fixes this issue :)
Many Thanks!
We have concurrent runs, to update a status to 'paid'.
Did you also experienced this problem?
related: Sylius/Sylius#10872
Hi I am getting this issue during checkout:
Argument 1 passed to Payum\Core\Gateway::addAction() must implement interface Payum\Core\Action\ActionInterface, string given.
Because reason is empty, the payment is marked as Authorised !!
An example of a real Adyen notification:
originalReference=
reason=
additionalData.hmacSignature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
merchantAccountCode=xxxxxxxxxx
eventCode=AUTHORISATION
operations=
success=false
paymentMethod=ideal
currency=EUR
pspReference=4755881009859805
merchantReference=*****3051-7409
value=4990
live=true
eventDate=2020-04-28T19:10:18.42Z
This code is wrong.
if (AdyenBridgeInterface::AUTHORISATION === $httpRequest->request['eventCode']) {
if (true === filter_var($httpRequest->request['success'], FILTER_VALIDATE_BOOLEAN)) {
$httpRequest->request['authResult'] = AdyenBridgeInterface::AUTHORISED;
} elseif (!empty($httpRequest->request['reason'])) {
$httpRequest->request['authResult'] = AdyenBridgeInterface::REFUSED;
}
}
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.