Set up plug-in
Create a new template
Integrate static template
Set constants
Meaning of the constants
Start with plugin.tx_amazonpay.
Title | Constant | Note |
---|---|---|
Amazon-Pay records | settings.container.payment | Storage location of data sets |
Amazon-Pay checkout | settings.pages.checkout | Page ID of checkout |
Activate debugging | settings.debug | Activates debugging |
Run in sandbox mode | settings.sandbox | Run Amazon Pay in test mode. A sandbox account is required |
Amazon payments URL | settings.url | https://static-eu.payments-amazon.com/OffAmazonPayments/eur/sandbox/lpa/js/Widgets.js |
Client ID | settings.clientId | Amzaon client ID |
Seller ID | settings.sellerId | Amazon seller ID |
Access Key ID | settings.accessKey | Amazon access Key ID |
Secret Access Key | settings.secretKey | Amazon secret access key |
Name of the store | settings.storeName | Name of shops |
Prefix for the order id | settings.orderIdPrefix | |
Path to template root (FE) | view.templateRootPath | EXT:amazon_pay/Resources/Private/Templates/ |
Path to template partials (FE) | view.partialRootPath | EXT:amazon_pay/Resources/Private/Partials/ |
Path to template layouts (FE) | view.layoutRootPath | EXT:amazon_pay/Resources/Private/Layouts/ |