202ecommerce / paypal

This repository is for developpers only. To install and upgrade the module in a production shop please install the package via PrestaShop Marketplace by following this link:
https://addons.prestashop.com/fr/paiement-carte-wallet/1748-paypal-officiel.html
Academic Free License v3.0
20 stars 31 forks source link

Why there are some embedded const in version >= 5.2? #61

Closed HartLarsson closed 4 years ago

HartLarsson commented 4 years ago
class PayPal extends \PaymentModule
{
    const PAYPAL_PARTNER_CLIENT_ID_LIVE = 'ATgR8ZE5M_Jd7F_XMMQDqMfFFgr7hJHFw8yKfklWU4TwzReENgydr5I042YfS1nRTDey7C1NbuFfKo_o';

    const PAYPAL_PARTNER_ID_LIVE = 'B3PVCXSW2J8JN';

    const PAYPAL_PARTNER_CLIENT_ID_SANDBOX = 'AVJ8YvTxw5Clf5CyJXIX6mnSSNgpzFFRaZh0KekLIMVe2vlkrWDMgaOTbvNds1U2bXVcjX4JGaP_jDM1';

    const PAYPAL_PARTNER_ID_SANDBOX = 'J7Q7R6V9MQZUG';
tvorgul commented 4 years ago

Hello,

Thank you for your message and your question. ClientID & PayerID are used to allow merchants onboarding without an intermediate servers. It enables PayPal to send to your PrestaShop hosted instance your REST API credentials securely.

ClientID & PayerID are non-sensitive credentials and cannot be used by an unauthorized third-party.

Do not hesitate to contact us if you have any additional questions.

Best regards, Tetiana Vorgul 202 ecommerce

HartLarsson commented 4 years ago

thank you for the explanation