amazon-widget
Adds a new Amazon Pay helper function to src/amazon.php and registers it via Plugin::getRequirements(). Follows widget pattern (return HTML string with inline OffAmazonPayments JS) or cURL pattern for API calls. Use when user says 'add widget', 'new amazon function', 'add payment step', or extends Amazon Pay integration. Do NOT use for Plugin.php hook changes or settings additions.
Installation and usage
Adds a new Amazon Pay helper function to src/amazon.php and registers it via Plugin::getRequirements(). Follows widget pattern (return HTML string with inline OffAmazonPayments JS) or cURL pattern for API calls. Use when user says 'add widget', 'new amazon function', 'add payment step', or extends Amazon Pay integration. Do NOT use for Plugin.php hook changes or settings additions.
安裝後,您可以透過在終端機執行以下指令來使用此技能:
skills use amazon-widget