PayPal Checkout for Craft Commerce icon

PayPal Checkout for Craft Commerce

Version 2.1.2

March 3, 2023

Added

  • Added the ability to set enable-funding PayPal SDK query parameters. (#73)

Fixed

  • Fixed a bug where payments weren’t being processed in the correct site on multi-site projects. (#67)

Version 2.1.1

August 24, 2022

Fixed

  • Fixed a bug where the PayPal API access token wasn’t being cached. (#64)

Version 2.1.0.2

August 10, 2022

Fixed

  • Fixed an error that could occur when attempting to refund an order.

Version 2.1.0.1

July 21, 2022

Fixed

  • Fixed a PHP error that occurred when receiving and error from PayPal. (#62)
  • Fixed a bug where names were being passed in correctly to the API.

Version 2.1.0

July 13, 2022

Added

  • Added the sendShippingInfo setting to allow control over sending shipping information to PayPal. (#27)
  • Added craft\commerce\paypalcheckout\gateways\Gateway::getSendShippingInfo().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setSendShippingInfo().

Version 2.0.0

May 4, 2022

Added

  • Added Craft CMS 4 and Craft Commerce 4 compatibility.
  • All gateway settings now support environment variables.

Version 1.3.4

November 8, 2022

Fixed

  • Fixed an error that occurred when making a partial refund. (#65)

Version 1.3.3

August 24, 2022

Added

  • Added craft\commerce\paypalcheckout\injectors\PayPalAuthorizationInjector.

Fixed

  • Fixed a bug where the PayPal API access token wasn’t being cached. (#64)

Version 1.3.2.1

February 24, 2022

Fixed

  • Fixed an error that could occur when attempting to refund an order. (#49)

Version 1.3.2

February 24, 2022

Fixed

  • Fixed an error that could occur when no billing address was provided. (#48)
  • Fixed a bug where errors weren’t being returned from the API. (#51)

Version 1.3.1

December 7, 2021

Added

  • Added craft\commerce\paypalcheckout\gateways\Gateway::getClientId().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setClientId().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::getSecret().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setSecret().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::getSendCartInfo().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setSendCartInfo().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::getTestMode().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setTestMode().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::getLandingLage().
  • Added craft\commerce\paypalcheckout\gateways\Gateway::setLandingLage().

Fixed

  • Fixed a bug where “Send Gateway Info”, “Test mode?” and “Landing Page” gateway settings were not being parsed as environment variables.

Version 1.3.0

December 1, 2021

Changed

  • The plugin now requires Craft 3.7.22 or later.
  • The “Test mode?” and “Landing Page” gateway settings now support environment variables.

Version 1.2.2.2

July 15, 2021

Fixed

  • Fixed a bug that could occur with previous versions of Craft. (#40)

Version 1.2.2.1

July 15, 2021

Fixed

  • Fixed a PHP error that could occur if the siteName param in the general config was null. (#40)

Version 1.2.2

July 6, 2021

Fixed

  • Fixed a bug where data submitted to the PayPal API was invalid. (#39)

Version 1.2.1

June 10, 2021

Added

  • Added the locale parameter for when customizing the PayPal SDK script. (#123)

Fixed

  • Fixed a bug where Commerce payment errors weren’t being returned
  • Fixed a bug where the PayPal Checkout gateway was incorrectly showing in the available gateways list for CP payments. (#30)
  • Fixed a bug where the order number wasn’t being sent to PayPal.

Version 1.2.0

December 4, 2020

Removed

  • Removed sendTotalsBreakdown in favour of using sendCartInfo setting. (#25)

Version 1.1.3

December 3, 2020

Added

  • Added sendTotalsBreakdown setting to allow the option not to send a breakdown. (#25)

Version 1.1.2

October 13, 2020

Changed

  • Improved redirection after payment has been approved.

Fixed

  • Fixed a bug that occurred when using the PayPal Checkout gateway with the latest example templates.

Version 1.1.1

July 7, 2020

Fixed

  • Fixed a bug that caused state value not to be populated when passing payer details to PayPal. (#20)

Version 1.1.0

April 14, 2020

Added

  • Added the ability to pay in a currency other than the primary payment currency.
  • Added the ability to set disable-funding and disable-card PayPal SDK query parameters. (#14)
  • Billing address details are now passed to PayPal via the payer object. (#11)

Fixed

  • Fixed a JavaScript error that occurred when setting authorize payment type. (#13)

Version 1.0.5

March 23, 2020

Added

  • Added support for payment of outstanding balance on an order. (#9)

Version 1.0.4

February 27, 2020

Fixed

  • Fixed an issue where JavaScript would cause float values to be malformed.

Version 1.0.3

February 26, 2020

Added

  • Added the ability to checkout without a shipping address.

Fixed

  • Fixed PHP 7.0 compatibility
  • Fixed a JavaScript error that could occur if both PayPal gateways were installed.

Version 1.0.2

February 16, 2020

Fixed

  • Fixed a bug that could occur if the sale price of a line item was not rounded.
  • Fixed a bug that could occur if there was no shipping method.

Version 1.0.1

December 17, 2019

Fixed

  • Fixed support for environment variables in gateway settings. (#7)

Version 1.0.0

December 13, 2019
  • Initial release.