Paypal module for Thelia ecommerce solution

Related tags

E-commerce PayPal
Overview

PayPal

  • I) Install notes
  • II) Configure your PayPal account
  • III) Module options payments

I) Installation

Composer

WARNING : A console access is required to update dependencies. If you don't have a console access, please get the latest 2.x version of the module here : https://github.com/thelia-modules/Paypal/tree/2.x

To install the module with Composer, open a console, navigate to the Thelia diorectory and type the following command to add the dependency to Thelia composer.json file.

composer require thelia/paypal-module:~4.0.0

II) Configure your PayPal account

  • Log In on [developer.paypal.com] (https://developer.paypal.com "developer.paypal.com")
  • Create REST API apps [here] (https://developer.paypal.com/developer/applications/ "here")
  • Click on Create App
  • Fill the fields : App Name & Sandbox developer account
  • Click on Create App
  • Note the Client ID to use it later in the module configuration
  • Note the Client SECRET to use it later in the module configuration

In SANDBOX WEBHOOKS

  • To fill this part, go to your module configuration page to see the urls to implement

In SANDBOX APP SETTINGS

  • To fill this part, go to your module configuration page to see the urls to implement

III) Module options payments

Classic PayPal payment

alt classic paypal payment

  • This method will redirect to the PayPal platform to proceed payment

InContext Classic PayPal payment

alt classic paypal payment

  • This method will allow the customer to pay from a PayPal inContext popup directly from your website (no redirection to the PayPal plateform)

Credit card

alt classic paypal payment

  • This method allow the customer to pay directly by a credit card without a PayPal account. 'The merchant must have a Pro PayPal account UK and the website must be in HTTPS'

Recursive payment

alt classic paypal payment

  • This method use the 'PayPal AGRREMENTS' and allow you to use recursive payments on your website. If you want to log all PayPal actions, you need to configure the PayPal webhooks and to have a wabsite in HTTPS

Express checkout

alt classic paypal payment

  • This method allow the customer to proceed the payment directly from the cart from a PayPal inContext popup.
Comments
  • Error 10413: Transaction refused:totals of the cart item amounts do not match order amounts

    Error 10413: Transaction refused:totals of the cart item amounts do not match order amounts

    Dans la boucle indiquant à Paypal les produits Le prix TTC (arrondi) est utilisé. Quand Paypal vérifie que le total des produits est bien égal au total de la commande, si l'on a des quantités > 1, il y a de grandes chances d'avoir quelques centimes de différence...

    opened by InformatiqueProg 6
  • [resolu] Paypal US Account > State is required !

    [resolu] Paypal US Account > State is required !

    Bonjour, Faisant un test de paiement Paypal en tant que faux client américain, j'ai rencontré une erreur, cad l'apparition de la page "gotopaypalfail.html".

    Les log de Paypal informe que l'état est manquant : 17: INFO [PaypalApiLogManager.php:logTransaction()] {59} 2015-03-16 17:04:00: 2015-03-16 16:04:00 Transaction Failure correlationId: 3da19670a1a2c error: [10729] The field Shipping Address State is required

    Le pb est le même que ce soit "USA - New York" ou "USA - Alabama", etc... Le fameux champ state si cher aux ricains doit aussi poser problème pour les clients canadiens... Oups, ça ne semble pas être un bug mais une lacune, state est laissé vide...

    Thelia 2.1.2 Module Paypal/Controller/GotoPaypal.php ligne 137 :

      $address->getLastname(),
      $address->getAddress1(),
      $address->getAddress2(),
      $address->getCity(),
      "", // State
      $address->getZipcode(),
      CountryQuery::create()->findPk($address->getCountryId())->getIsoalpha2()
    
    opened by pixelsmill 5
  • Problem checking out a virtual product

    Problem checking out a virtual product

    I am trying to checkout a virtual product using the PayPal module in Sandbox mode and I get the following error:

    ( ! ) Deprecated: deprecated since version 2.1 and will be removed in 2.3. A response can not be send before the end of the script. Please use RedirectResponse directly in D:\xampp\htdocs\grooveoption_v2\core\lib\Thelia\Tools\Redirect.php on line 30 Redirecting to http://localhost/grooveoption_v2/web/module/paypal/goto/3. Redirecting to http://localhost/grooveoption_v2/web/order/placed/3.

    I am then redirected towards the "Thank you" page, without having entered any credential. I using Thelia 2.1.0-alpha1 on xampp

    opened by matdev 3
  • Add availability to not send all order details to Paypal

    Add availability to not send all order details to Paypal

    opened by lopes-vincent 2
  • Fix bug with difference between total product and order amount

    Fix bug with difference between total product and order amount

    This happen because each price for products is rounded before send it to Paypal but the $products_amount used to find delta and discount is computed from addition of products prices not rounded. So in some case the $products_amount is not equal to real addition of products this cause a false delta and add a fake product "discount" to compense where is not needed. And the total of products is not equal to order amount.

    opened by lopes-vincent 1
  • Complete module revamping

    Complete module revamping

    This PR is a complete revamping of the module, to use payment modules features introduced in Thelia 2.1.

    The configuration system no longer uses AdminIncludes, but hooks. Configuration data are stored in the standard module_config table, and no longer uses a specific table. Configuration features has been added (IP filter, min and max amounts, etc).

    Error handling is enhanced, and the log system is more accurate. Logs are readable in the back-office.

    The modules uses the standard views of the default template, and a manual integration is no longer required.

    The module mails are now defined in a mail template.

    PR #19 and #23 have been included in this PR.

    The new configuration page :

    img-2016-01-12 01 12 30

    opened by roadster31 1
  • Fix paypal refactoring

    Fix paypal refactoring

    Ajout d'une fonction pour récupérer l'apyOrder utilisé dans PayPal

    lié à

    • https://github.com/thelia-modules/Paypal/pull/41
    • https://git.centraldev.api-and-you.com/apymybox/ApyUtilities/merge_requests/163
    • https://git.centraldev.api-and-you.com/apymybox/apymybox/merge_requests/1999
    • https://git.centraldev.api-and-you.com/apymybox/apyshopandgo/merge_requests/39
    opened by lesateliersapicius 0
  • arrondi

    arrondi

    arrondir pour que si il y a des pourcentages de réduction le total du panier et le total calculé par rapport aux articles soit égale sinon ça peut être différent et donc la commande fausse

    opened by AnthonyMeedle 0
  • arrondi

    arrondi

    arrondir pour que si il y a des pourcentages de réduction le total du panier et le total calculé par rapport aux articles soit égale sinon ça peut être différent et donc la commande fausse

    opened by AnthonyMeedle 0
  • Petite remarque

    Petite remarque

    Hello, d'abord un grand merci d'avoir réaliser ce module ! la classe.

    Juste une toute petite remarque concernant la doc d'install, lorsqu'on télécharge le zip depuis github, on récupère un dossier "Paypal-master" qui une fois dézippé dans le répertoire local/modules, cause l'erreur suivante :

    [21-Oct-2014 01:12:05 Europe/Paris] PHP Fatal error: Uncaught exception 'ReflectionException' with > message 'Class Paypal\Paypal does not exist' in ~core\lib\Thelia\Module\ModuleManagement.php:50

    Un tout simple renommage en Paypal résout le problème bien sûr.

    Un grand merci encore !

    Marc

    opened by marcoooo 0
  • Support for Paypal pay later

    Support for Paypal pay later

    Hello,

    I was wondering if the module was compatible with paypal pay later (Paiement en 4 fois)

    https://developer.paypal.com/docs/business/payment-methods/pay-later/

    And if the module is compatible, do you know in which version it was made available ?

    Thank you

    opened by yunai39 0
  • DeliveryModule wasn't correctly retrieved.

    DeliveryModule wasn't correctly retrieved.

    Previously, the function was getting the first encountered module, event if it wasn't a delivery module. Therefore, postage data retrieved later (line 414) returned an error. Now, we get the right delivery module (from the order object).

    opened by TheCoreDev31 0
  • Paypal 2.x

    Paypal 2.x

    The paypal's settings are not saved. The site is 2.3.4

    Thanks

    La configuration des paramètres de connexion à paypal ne sont pas sauvegardés. Le site est en 2.3.4 chez ovh en mutualisé.

    Merci de votre aide

    opened by BLAWETE 0
  • Use

    Use "recurring payment" instead of "recursive payment"

    The "recursive payment" (paiement récursif), used at many places in the module code or UI, is meaningless.

    The proper term is "recurring payment" (paiement recurrent).

    opened by roadster31 0
  • Mandatory composer installation is an issue for most users.

    Mandatory composer installation is an issue for most users.

    This makes this module useless for people with no console access and/or no development knowledge

    Additionally, updating Thelia with the recommended method (http://doc.thelia.net/en/documentation/installation/index.html#short-story) will remove the dependency from the main composer.json file.

    This module should be ready to deploy as a zip file in the back-office, with no unresolved dependencies.

    opened by roadster31 3
Releases(4.0.2)
Owner
Public modules for Thelia V2 developed by the community
null
An eCommerce website is an online store where you can buy or sell products online. An eCommerce offers a professional online store builder that helps you launch your eCommerce business quickly and successfully.

An eCOMMERCE-SITE An eCommerce website is an online store where you can buy or sell products online. An eCommerce offers a professional online store b

UTTKARSH PARMAR 2 Aug 8, 2022
Thelia is an open source tool for creating e-business websites and managing online content.

Thelia is an open source tool for creating e-business websites and managing online content.

null 800 Dec 28, 2022
The Laravel eCommerce DHL Shipping module module calculates the shipping rates based on DHL API for product shipping.

Introduction DHL Shipping Add-on provides DHL Shipping methods for shipping the product. It packs in lots of demanding features that allows your busin

Bagisto 1 May 31, 2022
AbanteCart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient.

AbanteCart is a free PHP based eCommerce solution for merchants to provide ability creating online business and sell products online quick and efficient. AbanteCart application is built and supported by experienced enthusiasts that are passionate about their work and contribution to rapidly evolving eCommerce industry. AbanteCart is more than just a shopping cart, it is rapidly growing eCommerce platform

AbanteCart 129 Nov 15, 2022
PrestaShop module that allows an ecommerce/brand to display its physical retailers in a map

PrestaShop module that allows an ecommerce/brand to display its physical retailers in a map Features Free of charge: instead of using pa

Darío Scattolini 3 Apr 15, 2022
Enable Standard PayPal for WooCommerce

Enable Standard PayPal for WooCommerce Contributors: vikcheema Donate link: https://paypal.me/SukhwantCheema Tags: woocommerce, payment gateway, paypa

Vik Cheema 2 Sep 9, 2021
StrongShop 是一款免费开源的跨境电商商城网站。基于 PHP Laravel6 框架开发,遵循 BSD-3-Clause 开源协议,免费商用。支持多语言,多货币,多种国际配送方式。PayPal 支付,国际信用卡支付。PC Web 端和移动端自适应。

跨境电商独立站的理想选择之一 StrongShop 简介 StrongShop 是一款免费开源的跨境电商商城网站。 StrongShop 是基于 PHP Laravel 框架开发的一款 Web 商城系统。 开发缘起是公司的一套跨境商城系统,原先公司使用的系统是基于 Ecshop 二次开发的,后来因为

OpenStrong 38 Dec 9, 2022
A PayPal IPN client for Laravel.

PayPal IPN for Laravel 4 This package allows for the painless creation of a PayPal IPN listener in the Laravel 4 framework. Installation PayPal IPN fo

Logical Grape 35 Jul 8, 2021
Laravel plugin for processing payments through PayPal. Can be used separately.

Laravel PayPal Documentation Usage Support Documentation The documentation for the package can be viewed by clicking the following link: https://srmkl

Raza Mehdi 844 Dec 28, 2022
Open Source eCommerce Platform on Symfony

Sylius is an Open Source eCommerce platform on top of Symfony. The highest quality of code, strong testing culture, built-in Agile (BDD) workflow and

Sylius eCommerce 7.2k Jan 3, 2023
Antvel is an ecommerce project written in Laravel 5.* intended for building a friendly eStore either for startups or big companies.

Antvel is an ecommerce project written in Laravel 5.* intended for building a friendly eStore either for startups or big companies.

Antvel - Official 650 Dec 28, 2022
A Free and Opensource Laravel eCommerce framework built for all to build and scale your business.

Bagisto is a hand tailored E-Commerce framework built on some of the hottest opensource technologies such as Laravel (a PHP framework) and Vue.js a progressive Javascript framework.

Bagisto 5k Jan 5, 2023
Shopware 6 is an open source ecommerce platform based on a quite modern technology stack that is powered by Symfony and Vue.js.

Shopware 6 Realize your ideas - fast and without friction. Shopware 6 is an open source ecommerce platform based on a quite modern technology stack th

Shopware 2.1k Dec 31, 2022
Size chart plugin for Sylius ecommerce platform.

Madcoders Sylius Size Chart Plugin Features upload size chart files (for example for shoes, t-shirts and similar products) match size charts by rules

MADCODERS 4 Oct 29, 2021
Payu payment gateway for bagisto laravel ecommerce open source platform

Bagisto Payu Payment Gateway Payu is a popular payment gateway in india. This package provides a additional strong help for the user to use the payu p

Saju G 3 Dec 14, 2021
Ecommerce website for Sales of Product according to their categories and Tags with pictures

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Muhammad Fahad 1 Nov 8, 2021
Laravel eCommerce headless APIs allow you to experience seamless and easily scalable storefront performance.

Bagisto GraphQL API Laravel eCommerce headless APIs allow you to experience seamless and easily scalable storefront performance. An open-source and Gr

Bagisto 30 Dec 29, 2022
(Live Link) Extensive ecommerce site with vendors, mods & ability to add to cart without being logged in. Upgraded to Laravel 8.x

(Live Link) Extensive ecommerce site with vendors, mods & ability to add to cart without being logged in. Upgraded to Laravel 8.x

null 14 Dec 21, 2022
The Laravel eCommerce Image Gallery allows the admin to add/manage images into various galleries and galleries into various groups according to requirements.

The Laravel eCommerce Image Gallery allows the admin to add/manage images into various galleries and galleries into various groups according to requirements.

Bagisto 2 May 31, 2022