Prestashop

De EduTech Wiki
Révision datée du 24 mars 2021 à 17:23 par Daniel K. Schneider (discussion | contributions) (Page créée avec « {{ebauche}} == Introduction == == Installation == Prestashop fait partie de l'offre de bons hébergeurs et si on n'a pas de besoins très particuliers on peut l'install... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Cet article est une ébauche à compléter. Une ébauche est une entrée ayant un contenu (très) maigre et qui a donc besoin d'un auteur.

Introduction

Installation

Prestashop fait partie de l'offre de bons hébergeurs et si on n'a pas de besoins très particuliers on peut l'installer avec un simple clic. Notre version a été installé par Infomaniak.

Configuration de base

Pour avoir un shop minimal qui vend des objets dématérialisés il faut:

  • configurer la mise en page et des éléments qui sont affichés par définition
  • configurer un accès à un service paiement
  • définir des produits et leurs attributs ainsi que des catégories

Activer / désactiver le shop

Parametres -> Paramètres généraux -> Maintenance
Activer la boutique = NON

Changer l'URL chez le même fournisseur

Cette procédure peut être compliquée ou simple, tout dépend de votre fournisseur.

Chez Infomaniak:

(1) Changer l'URL dans l'interface de gestion de Infomaniak (2) Changer l'URL dans Prestashop

 Admin -> Préférences -> Traffic & SEO -> Voir en bas de la page "URL de la boutique" 

Gestion des stocks

Elle n'est pas nécessaire pour vendre des produits virtuels

Paramètres -> Produits
NON

Payments

Après une installation défaut on a retrouvé plusieurs modules par défaut, notamment PayPal par 202 et PrestaShop Checkout. Aucun des deux n'a fonctionné et pour des raison qu'on ne comprends pas.

Paypal

Paypal offre plusieurs manières de l'utiliser. Un modèle Paypal dans Prestashop doit utiliser une d'entre elle et ensuite donner des instructions claires comment configurer le module. Ceci n'est pas le cas actuellement.

Pour utiliser Paypal il faut se créer un business account.

Ci dessous on cite la définition de concepts et terminologie par Paypal:

API call
Specific API services that allow you to make payments, refund payments, search or view transaction data, and more.
API signature
A PayPal-generated unique digital signature, such as a line of text or hash marks, that you copy from the PayPal website and use with your API username and password when making a call. An alternative to the digital signature is the API certificate; if you’re developing a custom solution with PayPal APIs, we recommend this option.
API certificate
A file that you download from the PayPal website. The API certificate, an alternative to an API signature, is used with your API username and password when you make API calls. The API certificate is a text file that must be readable by your application each time an API call is made.
API username and password
A PayPal-generated name and password that identify you when you make API calls. The API username and password are different from your PayPal login username (email address) and password.
Three-token authentication
Your API signature, API username, and API password together are called three-token authentication.

Liens importants:

Autres informations:

Modules Paypal

Pour installer un module paypal il faut (mais pas toujours) les informations suivantes de Paypal:

  • PayPal account e-mail
  • API Username
  • API Password
  • API Signature

PayPal Express

Presto problems

PayPal response: TIMESTAMP -> 2021-03-23T13:12:07Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error

Votre shop a les mauvais paramètres ou il n'est pas accessible.

Entrer un produit

  • Essentiel: Cocher (en bas): en ligne et remplir description et prix, associer catégorie
  • Tab produit dématérialisé:
  • Options: Disponibles à la vente, Exclusivité web

Configurer le layout

Personnaliser -> Apparance -> Thème et logo -> Onglet Pages configuration