oxid-paypal/paypalinstallments

PayPal 分期付款

安装: 80

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 17

分支: 1

公开问题: 0

类型:oxideshop-module

2.0.2 2019-06-03 07:43 UTC

This package is auto-updated.

Last update: 2024-08-29 04:50:12 UTC


README

要求

* OXID eShop 6.0.x

安装

通过 composer 安装

composer require oxid-paypal/paypalinstallments

致谢

* Author: ps@oxid-esales.com
* URL: http://www.paypal.com
* Mail: ps@oxid-esales.com

面向开发者

* File `docs/uninstall.sql` contains SQL to completely clean module. It is recommended to use after trying and uninstalling module.
* Widget paypInstallmentsPresentment shows info about PayPalInstallments.
    Mandatory parameter: amount. Optional parameters: currency, country. Default values for optional parameters are extracted from active shop.
    Code example `[{oxid_include_widget cl="paypInstallmentsPresentment" amount=5, currency='EUR' country='DE'}]`
* Override template of installments widget - create 'widget/presentment/paypinstallmentspresentment.tpl' inside `[theme]/tpl` folder.
* Append payment list with "paPayPal_installments" if used together with PayPal-Plus. See settings of module PayPal-Plus.
* Presentment on the start page extends whole template because there is not a single block on start.tpl. There is dedicated div for start page presentment script. See `paypinstallments_page_content_main.tpl`.
* `pa/paypalinstallments/application/views/admin/tpl/blocks/admin_payment_main_form.tpl` makes fields except `editval[oxpayments__oxfromboni]` readonly/disabled. Unfortunately JS solution did not worked at the time.
* User/owner can receive customised email depending on shop theme. Create templates `blocks/email/inc/paypinstallmentsfinancingdetails.tpl` and `blocks/email/plain/inc/paypinstallmentsfinancingdetails.tpl` on theme directory.