Generate the API Signature and copy the username, password, and signature into the payment method.

Sandbox API Keys

Login to the PayPal Developer Site, and browse to Sandbox > Accounts. Create a new account with type Business (Merchant Account). In the list of accounts, expand the merchant account and click on Profile. In the modal window, you can find the Username, Password and Signature on the API Credentials tab.