monei / monei-salesforce-commerce-cloud Goto Github PK
View Code? Open in Web Editor NEWSalesforce Commerce Cloud module for MONEI
Home Page: https://docs.monei.com/docs/e-commerce/salesforce/
License: MIT License
Salesforce Commerce Cloud module for MONEI
Home Page: https://docs.monei.com/docs/e-commerce/salesforce/
License: MIT License
Hello,
upon successfully calling the capture endpoint for a transaction created in MONEI the payment status of the order is never updated.
in the function authorize
of the file int_monei_sfra/cartridge/scripts/monei/processor.js
can you add an update of the order payment status if the capture endpoint does not return any error?
if (response.err) {
return { error: true };
}else{
Transaction.wrap(function () {
[...]
order.setPaymentStatus(dw.order.Order.PAYMENT_STATUS_PAID); // update of the order payment status
});
}
Hello,
on authorize hook script from file int_monei_sfra/cartridge/scripts/monei/processor.js there is the line 109 where a custom attribute in the Order object is manipulated
Monei_API_PaymentID
in the xml definitions of the custom attribute, the attribute is defined as
MONEI_API_PaymentID
the difference in the attribute casing throws a 500 error. Either the attribute is defined as Monei_API_PaymentID
in the XML or the code of processor.js needs to be updated to change the attribute Monei_API_PaymentID
Hello,
during integration tests we noticed that the payment in Monei is saved using the SFCC order ID
the order ID is reserved for the whole basket duration, meaning that if the transaction for any reason is approved but returns an error (i.e. on return callback there is an error on the form) the user can't complete the checkout
consider the following flow:
1- the user fill shipping data
2- the user fill billing data without a required field
3- the user submit the payment
4- the payment is authorized
5- upon return callback, the billing form shows the error
6- the user fix the billing form data and clicks on "continue"
6- from that point on the user can't proceed forward to the next step of the checkout: the continue button always tries to authorize the transaction again which returns an error from the create payment endpoint due to the fact that the payment, identified by the order ID, is already authorized
only way for the user to use MONEI at this point is to clear cookies and create a completely new basket
there should be a flow implemented with the payment form "continue" button that checks if the payment that it is going to create is already created and if so, to check the status and if already authorized it should only go to the next step of the checkout without trying to create a new payment each time
The cartridge should include Apay and Gpay payment methods
Please include the credit card payment processor to the MONEI cartridge, as now only BIZUM is available as processor
Add:
Credit card additional fields in the order attributes
Bizum additional fields in the order attributes
add status code and error message with translations if applicable
Also, change MONEI_CREDIT to MONEI_CARD
Hello,
during integration test, we noticed that the controller extension Checkout.js
int_monei_sfra/cartridge/controllers/Checkout.js
contains a client-side javascript that can't be used on backend
line #96
setTimeout(function(){
setTimeout returns a 500 error for not being a valid backend code. This is not a way of doing a retry after 3 seconds on server-side javascript.
Hello,
the service int_monei.http.rest upon first call always returns the following message
SSLHandshakeException:com.demandware.beehive.core.internal.ssl.WrappedCertificateException:
sun.security.validator.ValidatorException: PKIX path validation failed
java.security.cert.CertPathValidatorException: validity check failed
this happens both on sandbox and development environment, the latter with a valid SSL certificate. Seems like the API endpoint is protected not only by the authorization header but with a certificate check as well.
A mocked up API call with Postman works ok only if the option to check the SSL certificate validity is turned off
Webpacks presents code with SFRA references
path: path.resolve('./cartridges/app_storefront_base/cartridge/static')
which should be updated with the int_monei cartridge
also:
1 package modules list should be updated to the latest version compatible of SFRA plugin and the build scope should be the entire cartridge pack instead of the single int_monei_sfra cartridge
2 static css and static js should be inserted in the git_ignore file
the cartridge should include implementation documentation
The cartridge linter is not working, package.json should be updated for making the lint work as well as correcting all the linting issues of the code
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.