Giter Site home page Giter Site logo

payulatam's People

Contributors

gaillafr avatar groussac avatar mbertholino avatar quetzacoalt91 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

payulatam's Issues

Wrong link to payu.css

When I'm the front office, especially on the checkout tunnel, I get the following error in the console:

"NetworkError: 404 Not Found - http://localhost/var/www/html/PrestaShop/modules/payulatam/css/payu.css"

The path is no properly generated.

Regards

Missing order status

With the version 2.0 of PayU Latam, a new order status has been added.

A error has been found when the merchant upgrade his module from 1.X to the 2.0: The order status PAYU_OS_PENDING is not created. Currently, it is only created when the function install() is called.
In consequence, the merchant is unable to validate a new order because the requested order status is missing. (i.e http://forge.prestashop.com/browse/PNM-2852). It should be added with a new auto-upgrade file.
As a reminder, a documentation can be found here: http://doc.prestashop.com/display/PS15/Auto-updating+modules

When the description is longer than 255 characters PayU rejects the transaction

The documentation says that the description field has a size of 255 characters but the Prestashop PayU module concatenates the title of every product added to an order so the description can have more than 255 characters, when this happens, the PayU Webcheckout web page will show an error to the user. Reference: http://developers.payulatam.com/en/web_checkout/variables.html.

For example, if a customer adds 5 products and each product has a long title, the module could create a description longer than 255 characters and the user will get an error. Because PayU doesn't show that error on the PayU Admin site, the shop owner will never know that there was an error, just if the customer notifies the shop owner about that.

The module must create a description with a maximum of 255 characters. It could be using substr but using it will create a incomplete description (easy and quick solution). Another option is to take just a small part of each title.

It seems the problem is in the validation.php file:

$description = '';
foreach ($products as $product)
    $description .= $product['name'].',';

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.