sveawebpay/nwt-magento2-checkout
Composer 安装命令:
composer require sveawebpay/nwt-magento2-checkout
包简介
Svea Checkout
README 文档
README
Svea checkout settings and instructions
How to install:
Install it to via composer in your magento site:
composer require sveawebpay/nwt-magento2-checkout
If you don't want to use composer, install it manually:
download and copy all files into app/code/Svea/Checkout/ directory.
Enable it in Magento:
php bin/magento module:enable --clear-static-content Svea_Checkout
php bin/magento setup:upgrade
php bin/magento setup:di:compile
Settings and instructions:
To find the settings follow these steps: Store->Configuration or on the left side in the panel.
Then you can find the settings under: Svea->Checkout.
Enabled: Yes/No, If you want to enable the checkout choose "Yes", if not choose "No".
Testmode: Before you go live it's always good to test the checkout. Choose "Yes" to put the module in test mode so you can check if everything works as it should. When that is done, put the setting as "No" for live mode.
Merchant ID and Shared Secret: Merchant identifier for testing purpose see this:
https://www.svea.com/globalassets/sweden/foretag/betallosningar/e-handel/integrationspaket-logos-and-doc.-integration-test-instructions-webpay/test-instructions-payments-partners.pdf
For production credentials you need to contact Svea.
Send order email: This will prompt Magento to send out order e-mails
Activate Svea Shipping: A shipping service with third party TA nShift. Needs to be setup by Svea and nShift.
Enforce Fallback Shipping Options: Only shown if "Activate Svea Shipping" is enabled. Enforce the use of fallback shipping options in the Svea nShift solution. Leave this off unless specifically testing fallbacks.
Activate Dimensions Calculations: Only shown if "Activate Svea Shipping" is enabled. Parameters height_cm, width_cm, length_cm to nShift, calculated from product attributes with those same attribute codes.
Default Shipping Method: If you want a specific shipping method to be chosen directly.
Default Country: This is only important if you allow payments from multiple countries. If only 1 country is in use it will automatically choose the one from "Allowed Payment Countries".
Allowed Payment Countries: If you allow more than 1 payment country choose which oneshere.
Checkout allowed customer types: If you want to have both B2C and B2B in your checkout.
Checkout default customer type: Chooses which of either to be setup as default.
Capture/Refund payment: Allows you to capture and refund from Magento admin.
Can capture partial: Allows you to make partial captures/refunds.
Subscribe Newsletter checked by default: When reaching checkout, this decides if the checkbox for subscription to newsletter is marked or not.
Register Guest Customers: If you want to register not logged in customers when the order is placed.
Url for terms page: This is where you choose what page the "Terms and agreements" link in checkout should lead to.
Replace checkout url with Svea Checkout: "Yes/No", "Yes" means that Go to checkout in minicart will lead to Svea.
Discounts per Item: "Yes/No", set to "Yes" to have discounts applied to each applicable row sent to Svea. "No" to have discounts as separate negative rows (per applied tax rate).
Display Newsletter checkbox: Simple "Yes/No", yes to display the checkbox, no to hide it.
Use reward points? (Commerce only): Use Adobe Commerce reward points function.
Display Discount Form: Simple "Yes/No", yes to display the discount form, no to hide it.
Display Comment: If you want to disable the customer comment section in the checkout choose option "No".
Display link to a different payment method: If you have another payment option, choose "Yes" to display it.
Display Additional block: Simple "Yes/No", yes to display the additional block above checkout, no to hide it.
Additional block Content: This is where you choose what to show in the additional block.
Display Crossell Products: Simple "Yes/No", Yes to show crossell products.
Number of products: The amount of products shown in the slider.
Apple Pay
Enable / Disable Domain File: Click to Enable or Disable the Apple Pay domain association file.
Next step after enabling:
If you are using Adobe Commerce Cloud, follow the instructions Here
If not using Cloud, and using nginx, add this snippet to your root nginx.conf:
location ^~ /.well-known/ {
alias $MAGE_ROOT/pub/media/.well-known/;
allow all;
default_type text/plain;
}
If using Apache, add this snippet to your root .htaccess:
RewriteRule ^\.well-known/(.*)$ pub/media/.well-known/$1 [L,T=text/plain]
sveawebpay/nwt-magento2-checkout 适用场景与选型建议
sveawebpay/nwt-magento2-checkout 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9.45k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 10 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sveawebpay/nwt-magento2-checkout 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sveawebpay/nwt-magento2-checkout 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 9.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-10-03








