This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Process integration resource permissions after the integration is created | |
* | |
* @param string[] $integrationNames Name of integrations passed as array from the invocation chain | |
* @return string[] | |
*/ | |
public function afterInitIntegrationProcessing($integrationNames) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Initiate integration processing | |
* | |
* @param array $integrationNames | |
* @return array of integration names sent to the next invocation | |
*/ | |
public function initIntegrationProcessing(array $integrationNames) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<integrations> | |
<integration name="testIntegrationModule1"> | |
<email>test-integration1@magento.com</email> | |
<endpoint_url></endpoint_url> | |
</integration> | |
<integration name="testIntegrationModule2"> | |
<email>test-integration2@magento.com</email> | |
<endpoint_url></endpoint_url> | |
</integration> | |
</integrations> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<type name="Magento\Module\Updater\SetupFactory"> | |
<arguments> | |
<argument name="resourceTypes" xsi:type="array"> | |
<item name="testmodule1_setup" xsi:type="string">Magento\Integration\Model\Resource\Setup</item> | |
</argument> | |
</arguments> | |
</type> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<integrations> | |
<integration name="testIntegrationModule1"> | |
<!-- List of API resources required by the integration. These are resource ids defined | |
in etc/acl.xml of modules and subsequently mapped to web APIs in webapi.xml. --> | |
<resources> | |
<resource name="Magento_Reward::reward_spend" /> | |
<resource name="Magento_Customer::online" /> | |
<!-- Undefined resources will not be created--> | |
<resource name="Magento_Customer::undefined" /> | |
<resource name="Magento_Sales::reorder" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
/** | |
* {license_notice} | |
* | |
* @copyright {copyright} | |
* @license {license_link} | |
*/ | |
--> | |
<config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: { | |
code: 3100, | |
message: Invalid Quantity, | |
parameters: [product, email] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" | |
xmlns:xml="http://www.w3.org/XML/1998/namespace" | |
xmlns:m="http://magento.com"> | |
<env:Body> | |
<env:Fault> | |
<env:Code> | |
<env:Value>env:Sender</env:Value> | |
</env:Code> | |
<env:Reason> | |
<env:Text xml:lang="en">Invalid Quantity</env:Text> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once('services/PayPalApi/PayPalAPIInterfaceServiceService.php'); | |
/* setup payment details */ | |
orderTotal = new BasicAmountType( '-your-currency-code-', '-your-amount-'); | |
$PaymentDetails= new PaymentDetailsType(); | |
$PaymentDetails->OrderTotal = $orderTotal; | |
/* create DoExpressCheckout request details */ | |
$DoECRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType(); | |
$DoECRequestDetails->PayerID = '-payer-id-from-get-EC-call; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application: oauth2-paypal | |
version: 1 | |
runtime: python | |
api_version: 1 | |
handlers: | |
- url: /.* | |
script: index.py |
OlderNewer