Manual Key Exchange
There are two options for the manual key exchange. Both involve the merchant copying a JSON object and pasting it into a field in the Ecommerce provider’s plugin configuration screen. In one option, the payload will be encrypted; in the second option, it will be in plain text. The Ecommerce provider plugin should provide a field (preferably a textarea element) where the merchant can paste either of these two payloads.
- Encrypted copy/paste : For the encrypted copy/paste method, the merchant will copy the encrypted credential payload displayed during the registration workflow. When the payload has been submitted, you can determine that it is encrypted by testing if the encryptedPayload key exists in the JSON object. If present, follow the instructions in the How to decrypt credentials section to decrypt the underlying merchant credentials.
- Plain text copy/paste : For the plain text copy/paste method, the merchant copies the plain text credential payload (JSON format) from Seller Central. When the payload has been submitted, you can determine that it is plain text by testing if the merchant_id key exists in the JSON object. If present, follow the instructions in the How to process plain text credentials section to retrieve the credentials from the JSON object.