Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Configure a Solicit-Response Send Port for the CData BizTalk Adapter for PayPal
Use the adapter for PayPal with a solicit-response send port to execute updategrams and data manipulation SQL in BizTalk.
This section provides step-by-step instructions for creating, configuring, and testing a static solicit-response send port using the CData BizTalk Adapter for PayPal. You can use a static solicit-response send port to execute commands and access the results in BizTalk. You can use send ports to execute updategram commands, SQL commands, and stored procedure operations.
Create and Configure the Send Port
Create a static solicit-response send port and configure it to use the adapter as its transport type.
- If you have not already done so, open your BizTalk application in the BizTalk Administration Console.
- In the node for your BizTalk application, right-click Send Ports and select New -> Static Solicit-Response Send Port. The Send Port Properties dialog is displayed.
- In the Send Port properties, enter a name for the receive port.
- In the Transport Type menu, select CData.PayPal;.
- In the Send pipeline menu, select the default option, PassThruTransmit.
- In the Receive pipeline menu, select the default option, PassThruReceive.
Configure the Adapter
Define the command the adapter will execute in the Transport Properties dialog.
- In the send port properties, click the Configure button. The Adapter Transport Properties dialog is displayed.
- In the CommandType property, select the command type you want.
- If you want to execute an SQL command, enter the command in the SQL Command box.
Configure the Connection to PayPal
Configure credentials and other properties required to connect to PayPal in the Connection String Options dialog.
- In the send port properties, click Configure. The adapter properties dialog is displayed.
- Click the button in the Connection String property. The Connection String Options dialog is displayed.
- Enter the connection properties. Below is a typical connection string:
Schema=SOAP;Username=sandbox-facilitator_api1.test.com;Password=xyz123;Signature=zx2127;InitiateOAuth=GETANDREFRESH
The provider surfaces tables from two PayPal APIs. The APIs use different authentication methods.
- The REST API uses the OAuth standard. To authenticate to the REST API, you will need to set the OAuthClientId, OAuthClientSecret, and CallbackURL properties.
- The Classic API requires Signature API credentials. To authenticate to the Classic API, you will need to obtain an API username, password, and signature.
See the "Getting Started" chapter of the help documentation for a guide to obtaining the necessary API credentials.
To select the API you want to work with, you can set the Schema property to REST or SOAP. By default the SOAP schema will be used.
For testing purposes you can set UseSandbox to true and use sandbox credentials.
- Click Test Connection to verify the values and test connectivity.