Giter Site home page Giter Site logo

ecommerce-magento-2's People

Contributors

ahumulescu avatar apetrovici avatar raven0us avatar securesubmit-buildmaster avatar shaddox avatar slogsdon avatar vitalie-cracan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ecommerce-magento-2's Issues

PHP classes are missing

PHP classes are missing

Class 'GlobalPayments\Api\Entities\Enums\Secure3dVersion' not found

Can you update your module?

Thank you

503 - Currency Not Supported

We've been trying to go through the support channels, however we're experiencing an issue with the currency code that's being sent across.

Logs show that GBP is being sent in the debug log, however the response back is 503 GBP is not supported on this merchant account.

Merchant account is GBP.

Is there anything else that could be generating this error?

Add extension point for 'extension_attributes' of paymentData

You have your own model view/frontend/web/js/action/set-payment-method.js.
Unfortunately there is no easy way to add values to 'extension_attributes'.
A lot of modules at checkout extension_attributes to pass data to server and process it there.

You have workaround for checkout agreements. But it doesn't cover other third-party modules.

º and ª must be allowed in Adress Validation

In Spain, some adress needs to specify º and ª to identify the floor and door of a bulding.
So, in
RealexPayments/HPP/view/frontend/web/js/model|validation.js, line 86
this:
let pattern = /^[ÀÁÂÃÂÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ_a-zA-Z0-9.'\s,\-\/\u0152\u0153\u017D\u0161\u017E\u0178]*$/;
must be:
let pattern = /^[ÀÁÂÃÂÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ_a-zA-Z0-9.'\s,\-\/\u0152\u0153\u017D\u0161\u017E\u0178\u00BA\u00AA]*$/;

Regards,
JOINSO

Cart page not working when googlepay enable

When we enable google pay cart page not working it show below error

Fatal error: Uncaught Error: Cannot instantiate interface Magento\Payment\Model\MethodInterface in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121

Unhandled exception occurs when postal code isnt provided

We are seeing the following error when a postal code value isn't provided during a guest checkout.

report.CRITICAL: Exception: 
Deprecated Functionality: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/vendor/realexpayments/hpp/Model/PaymentMethod.php on line 405

Expected Result on checkout:
The Payment widgets loads allowing the customer to pay

Actual Result:
The payment widget does not load, resulting in a blank payment option

Recommendation is to add the following:
Adjust the following code at realexpayments/hpp/Model/PaymentMethod.php from:

$postalBit = $order->getShippingAddress()->getPostcode();
            if ($shippingCountryCode == "GB") {

To:

$postalBit = $order->getShippingAddress()->getPostcode();
            if ($shippingCountryCode == "GB" && isset($postalBit)) {

Reference code:

$postalBit = $order->getShippingAddress()->getPostcode();
if ($shippingCountryCode == "GB") {
$postalBit = preg_replace('/\D/', '', $postalBit);

Call to a member function getMethod() on null error

Hi

I get the following error at checkout in the isOrderWithPaypal() function in Model/Order.php at line 95.

report.CRITICAL: Error: Call to a member function getMethod() on null in /app/vendor/realexpayments/hpp/Model/Order.php:99 Stack trace: #0 /app//vendor/realexpayments/hpp/Model/Order.php(24): RealexPayments\HPP\Model\Order->isOrderWithPaypal()

My recommendation would be to update the if statement as follows:

Old code:
if ($payment->getMethod() == PaymentMethod::METHOD_CODE) {

New code:

if ($payment && $payment->getMethod() == PaymentMethod::METHOD_CODE) {

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.