payfurl / module-payment
payFURL payments for Magento 2 / Adobe Commerce
Requires
- php: ~8.2.0||~8.3.0||~8.4.0||~8.5.0
- magento/framework: ~103.0.7
- magento/module-checkout: ~100.4.7
- magento/module-config: ~101.2.7
- magento/module-customer: ~103.0.7
- magento/module-directory: ~100.4.7
- magento/module-payment: ~100.4.7
- magento/module-quote: ~101.2.7
- magento/module-sales: ~103.0.7
- magento/module-store: ~101.1.7
- payfurl/phpsdk: ^3.0
Requires (Dev)
- bitexpert/phpstan-magento: ^0.44
- magento/magento-coding-standard: ^41
- phpstan/phpstan: ^2
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v4.8.6.x-dev
- v4.6.17.768-dev
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.1
- 2.1.0
- 2.0.0
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.0
- 1.0.10
- 1.0.9
- v1.0.8.x-dev
- 1.0.8
- 1.0.7
- 1.0.5
- dev-sdk-bump/v4.11.5
- dev-sdk-bump/v4.11.4
- dev-sdk-bump/v4.11.3
- dev-sdk-bump-auto-release
- dev-sdk-bump/v4.11.2
- dev-sdk-bump/v4.11.1
- dev-sdk-bump/v4.11.0
- dev-PAY-5648/magento-plugin-move-to-php-sdk-v3-and-pick-up-sdk-releases-automatically
- dev-PAY-5635/magento-plugin-verify-charges-on-the-server-fix-review-findings-add
- dev-PAY-3959/missing-terms-and-conditions-checkbox-in-magengo
- dev-PAY-3739/phone-number-format-issue-that-blocks-creating-regular-card-payment-or
- dev-PAY-3907/magento-2-plugin-for-xpanse
- dev-PAY-3878/replace-payfurl-logo-in-xpanse-magento-plugin
- dev-PAY-3877/magento-terms-and-conditions-check-not-validated-for-jw-computers
- dev-PAY-3737/feedback-on-issues-with-magento-plugin
- dev-PAY-3699/work-out-how-to-handle-terms-and-conditions-with-payid-on-magento
- dev-PAY-3412/phone-number-and-email-are-not-collected-when-making-a-magento-payment
- dev-PAY-3478/magento-sends-discount-to-the-client-sdk-in-wrong-format
- dev-PAY-3434/magento-plugin-update-mastercard-logo
- dev-PAY-3349/magento-plugin-does-not-pass-address-and-order-info-with-payment
- dev-PAY-3334/becextech-checkout-when-not-logged-in
- dev-PAY-3243/magento-2-plugin-javascript-sdk
- dev-PAY-3245/magneto2-payment-options
- dev-PAY-3134/update-magneto-plugin-to-preload-click-to-pay
- dev-PAY-2969/add-support-for-firstname-and-lastname-when-creating-a-charge
- dev-PAY-2968/release-new-magneto-plugin-using-latest-js-sdk
- dev-fix_undefined_method_getCustomerFirstname
- dev-PAY-2932/update-magento-plugin
- dev-PAY-2904/update-magento-plugin-to-v464-js-sdk
- dev-PAY-2851/magento-plugin-adjust-order-mapping
- dev-PAY-2861/update-magento-plugin-to-use-latest-js-sdk
- dev-PAY-2844/payto-and-payid-azupay-payments-are-unable-in-magento
- dev-PAY-2838/magento-plugin-doesnt-collect-customer-information
- dev-PAY-2820/ensure-that-googlepay-and-applepay-work-in-magento-plugin
- dev-PAY-2818/get-click-to-pay-working-with-bexcetech
- dev-PAY-2808/update-javascript-sdk-in-magento-plugin
- dev-PAY-2813/date-mismatch-in-magento-admin
- dev-PAY-2788/magento-plugin-shows-card-transaction-as-payid-in-the-transaction
- dev-PAY-2663/magento-plugin-investigate-reloading-the-payment-form-when-address
- dev-PAY-2658/validate-credentials-doesnt-work-correctly-when-config-has-been-saved
- dev-PAY-2362/split-payment-options-rather-than-displaying-a-single-payfurl-payment
- dev-PAY-2396/investigate-mangento-plugin-update-to-hide-pay-now-button
- dev-PAY-2402/magnento-plugin-doesnt-work-in-production
- dev-PAY-2355/magento-plugin-improvements
- dev-PAY-2276/test-using-our-magento-plugin-with-httpswwwbecextechcomau
- dev-make_him_lonely
This package is auto-updated.
Last update: 2026-11-24 05:44:31 UTC
README
Accept payments on Magento Open Source and Adobe Commerce through payFURL: cards (with saved cards), PayPal, Google Pay, Apple Pay, PayTo and checkout methods such as PayID, routed to the gateways set up in your payFURL account.
The package is payfurl/module-payment; the Magento module
is Payfurl_Payment. What changed in each version is in CHANGELOG.md.
Supported versions
| Module | Magento / Adobe Commerce | PHP |
|---|---|---|
| 2.x | 2.4.7, 2.4.8, 2.4.9 | 8.2 to 8.5, as your Magento version allows (2.4.7: 8.2, 8.3; 2.4.8: 8.3, 8.4; 2.4.9: 8.3 to 8.5) |
| 1.x | 2.4.6 and earlier | No longer updated |
Install
Install on a development or staging copy of your store first, and back up the store before installing on
production (bin/magento setup:backup --code --media --db, or your host's backup).
bin/magento maintenance:enable composer require payfurl/module-payment:^2.0 bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush bin/magento maintenance:disable
Composer installs the module from Packagist and the payFURL PHP SDK it needs (payfurl/phpsdk 3.x; a later 3.x
release installs with composer update payfurl/phpsdk). If Composer asks for
repo.magento.com credentials, use your Commerce Marketplace access keys: at
marketplace.magento.com, My Profile > Marketplace > Access Keys. The public
key is the username and the private key the password.
Upgrade
composer update payfurl/module-payment bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush
From 1.x to 2.0: update Magento to 2.4.7 or later first; 2.0 doesn't install on older versions. Then
composer require payfurl/module-payment:^2.0 and the commands above. After upgrading, set up the webhook (see
Webhooks) so payments that settle later complete their orders. If your own code used methods the 1.x
module added to Magento's payment order adapter, see the 2.0.0 entry in the changelog. If your
theme overrides the module's checkout files (Payfurl_Payment templates or JavaScript), they keep working, but
2.0's checkout fixes apply only to the module's own files: remove the overrides you no longer need.
Configure
Stores > Configuration > Sales > Payment Methods > PayFURL Payment (under recommended solutions):
| Setting | What it does |
|---|---|
| Enabled | Shows the payFURL payment methods at checkout. |
| Environment | Sandbox for testing with your payFURL sandbox account, Production for real payments. |
| Title | The card payment method's name at checkout. |
| Sandbox Public key, Sandbox Secret key | Your payFURL sandbox account's keys, used in the Sandbox environment. |
| Public key, Secret key | Your payFURL production account's keys, used in the Production environment. |
| Enable GooglePay, Enable ApplePay | Offer Google Pay and Apple Pay, when your payFURL account has a gateway for them. |
| Debug | Logs every request to payFURL and its response in var/log/payfurl.log, with the shopper's personal and card details masked. |
| Webhook signing key | The Webhook Secret Key from Account Info in the payFURL portal. See Webhooks. |
| Validate Credentials | Checks the saved keys of the selected environment with payFURL. Press Save Config before validating. |
Keys can be set per website, so each website can use its own payFURL account. Refunds use the keys of the order's store.
Which payment methods appear
The checkout asks payFURL which payment types your account can take for the cart's currency and total, and shows only those:
| Method | Shows when |
|---|---|
| Card | Your account has a card gateway. Logged-in customers can save a card and pay with it next time. |
| PayPal | Your account has a PayPal gateway. |
| Google Pay | Enable GooglePay is on and your account has a Google Pay gateway. |
| Apple Pay | Enable ApplePay is on, Apple Pay is set up in payFURL for your domain (see Apple Pay), and the shopper uses an Apple device. |
| PayTo | Your account has a PayTo gateway. |
| PayID, Shift, Pay By Account, UPI | Your account has that checkout provider. Other checkout providers (for example Pesapal, PayGLocal or Zip) are not offered by this module. |
If a method doesn't show, check the account's gateways and their currencies in the payFURL portal.
How payments are checked
The module checks every payment with payFURL before Magento invoices the order: the charge must have succeeded for the order's amount and currency, and a charge another order already uses is refused. A saved card can only be charged for the customer it was saved for.
Some payment methods (PayID, PayTo and other checkout methods) are still pending when the order is placed. Those orders wait in Payment Review with an unpaid invoice until the payment settles: with the webhook below, or when you open the order and press Get Payment Update. A payment that fails cancels the invoice.
Webhooks
The webhook settles pending payments without anyone pressing Get Payment Update:
- In the payFURL portal, on Webhooks, add a Transaction webhook with the URL
https://<your store>/payfurl/webhook. - Copy the Webhook Secret Key from Account Info in the portal into the Webhook signing key setting.
The store checks each webhook's signature with that key, then asks payFURL for the payment's status: the webhook's own content is never trusted.
Apple Pay
Apple Pay shows at checkout when Enable ApplePay is Yes and payFURL reports an Apple Pay gateway for your account. In the payFURL portal that takes:
- Settings > Apple Pay: Apple Pay turned on for the account. The account's legal name, website and country (in its settings) must be filled in.
- The gateway connection that takes Apple Pay, with Apple Pay turned on.
Apple also verifies every domain your checkout runs on, and who does that depends on the gateway:
- Westpac PayWay: PayWay's own Apple Pay button runs the payment, so the domain is registered with Westpac, not payFURL. Set up Apple Pay for your PayWay facility with Westpac, and follow their domain steps.
- Other gateways: in Settings > Apple Pay, download the domain verification file and make it reachable at
https://<your domain>/.well-known/apple-developer-merchantid-domain-association(with Magento's web root atpub/, it goes inpub/.well-known/), without a redirect or a login. Then add each domain on that page. Apple checks the file on all of them; one that fails stops the others being added.
Apple Pay then shows in Safari on a Mac, and in browsers on iPhone and iPad, for shoppers with a card in Apple Wallet. The portal's Settings > Apple Pay page shows each connection's status.
Content Security Policy
Magento's checkout enforces a Content Security Policy (restrict mode on payment pages since 2.4.7). The module's
etc/csp_whitelist.xml allows payFURL's hosts (*.payfurl.com) and the card schemes' and gateways' 3-D Secure
and Click to Pay hosts. If the browser console shows a CSP error for another host during payment (a gateway's 3-D
Secure page, for example), add that host in a csp_whitelist.xml of your own module and tell payFURL support.
Troubleshooting
| Symptom | Check |
|---|---|
| No payFURL methods at checkout | Enabled is on, the keys match the Environment (press Validate Credentials), the cache is flushed, and your payFURL account has a gateway for the store's currency. |
| "Transaction has been declined. Please try again later." | var/log/system.log has Payment Error: <reason>: a gateway decline code, or charge_status_failed, charge_amount_mismatch, charge_currency_mismatch, charge_reference_mismatch or charge_already_used when the payment did not match the order. |
| An order stays in Payment Review | The payment hasn't settled yet. Press Get Payment Update on the order, and set up the webhook. |
| The card form or a wallet button doesn't load | The browser console: a CSP error (see above) or a blocked assets.payfurl.com. |
| Anything else | Turn Debug on and send var/log/payfurl.log to payFURL support. Personal and card details are masked in it. |
Contributing
Bug reports and pull requests are welcome: see CONTRIBUTING.md.


