ProcessWire payment method for PayPal Checkout using the Client-Side REST API with Smart Payment Buttons and PayPal JavaScript SDK.
- Copy all files included in this module into new directory
/site/modules/PaymentPayPalExpressCheckout/
. - In the ProcessWire admin, go to Modules > Refresh.
- Click install for the PayPal Checkout module.
- Configure the required module fields.
To change the width of the container and/or if you're using dark theme on your website and you haven't disable the "Debit or Credit Cards" button you will definitely need to style the PayPal Button Container otherwise some elements (grey text & icon) might not be clearly visible.
#paypal-button-container {
background: white;
max-width: 500px;
padding: 25px;
}
- ProcessWire 3.x
- PaymentModule (PW3 branch) ProcessWire module
- Improved payment validation
- Added field for additional custom JavaScript (onApprove) on AJAX Checkout
- Module upgraded with the current PayPal API
- Added Smart Payment Buttons and PayPal JavaScript SDK
- PayPal JavaScript SDK will automatically loaded even if AJAX enabled IMPORTANT: If you were previously using AJAX, remove the old checkout.min.js from your templates
- Fixed decimal point on javascript code to prevent broken PayPal popup on alternate languages
- Fixed product titles with HTML entities on PayPal's item list
- Removed fix from 1.2.5 version. Waiting for an official fix. More info here.
- Fixed some notes with HTML Entities to prevent breaking "Live Search" in Languages
- Updated code syntax on hiding Funding Buttons
- Added option to hide Funding Buttons (PayPal Credit, Credit/Debit Cards & ELV)
- Added ability to display custom HTML above and below the PayPal buttons after they are fully rendered and ready to be clicked
- Changed title to PayPal Checkout
- Updated notes for AJAX Checkout
- Added failure translatable text
- Remove form element when AJAX is enabled
- Added AJAX support (Vanilla Javascript)
- Converted querySelector to getElementById to improve performance
- Added PayPal icon on Module info
- Added an additional payment verification for preventing exploitation by manually accessing the process url from the source code and getting digital content without actually paying
- Easier switch between Sandbox & Live
- Display the PayPal buttons ONLY when they are fully rendered and ready to be clicked to prevent bad user experience
- Ability to display custom HTML while the PayPal buttons are fully rendered and ready to be clicked
- Switched to vertical layout
- Added Multi-Language support
- Initial release
GPL 2.0