Using the New Yahoo! Payment API

Note: The Partner Store tokens from Yahoo! will temporarily be forwarded to Stone Edge Technologies, Inc., who will in turn forward them to the merchant, as was the case during the beta testing of the new payment API. This document refers to the partner store token in step 8 of the section Setting System Parameters or step 12 of section Setting Cart-based Parameters. When Yahoo! begins sending the tokens to users, this note will be removed from the article. We do not have a firm target date for when Yahoo! will take over the distribution of tokens, but we do not anticipate a change in the procedure before 2010.

This document outlines the steps for setting up the new Yahoo! Payment API for use with the Order Manager and contains sections listed in the links below. Click on a link to jump to that section, but please be sure to review the Requirements, Limitations and Considerations in the General Information section prior to setting up and using the new Yahoo! Payment API.

Setting Up the New Yahoo! Payment API in Yahoo! Store Manager

Setting Up the Order Manager to use the New Yahoo! Payment API

Setting Main Parameters

Setting Cart-Based Parameters

Troubleshooting

General Information

Setting Up the New Yahoo! Payment API in Yahoo Store Manager

  1. Once the merchant has obtained Stone Edge Technologies Inc.'s Yahoo Partner Agreement Number (see the Requirements section at the bottom of this page), they must login to their Yahoo! Store Manager and click on the Real-Time Links option.

 image1049.jpg

 

  1. Then click on the API Settings link.

image1053.jpg

  1.  Select the Add New Partner link.

 image1043.jpg

  1. Enter Stone Edge Technologies, Inc. as a partner and add our Yahoo Partner Agreement Number. Select the Order API and Payment API check boxes and then click on the Next button.

 image1044.jpg

Note: Stone Edge Technologies, Inc.'s Partner Agreement Number can be obtained by contacting our Sales Department as described in the Requirements section of this document.

  1. The merchant must accept terms of service.  Click the Accept button.

 image1045.jpg

  1. Continue with the next section, Setting up the Order Manager to use the New Yahoo! Payment API.

Setting up the Order Manager to use the New Yahoo! Payment API

The new Yahoo! Payment API is only for use with orders originating in Yahoo! This interface currently CANNOT be used with Order Manager's Manual Orders or the Point of Sale methods of order entry. If the merchant will not be using either of these order entry methods, and they only have Yahoo! shopping carts that will all use the new Yahoo! Payment API, then they can set the system parameters listed in the steps below in the main System Parameter Credit Card group. If, however, the merchant intends to charge credit cards in Order Manager at Manual Orders or in the Point of Sale system, then the merchant will need to set up credit card parameters for a different payment gateway (i.e. Authorize.net or PC Charge, etc.) in the main System Parameter Credit Card group, and will set the new Yahoo API gateway parameters in the Cart-Based (Special) Parameters.   

Setting Main System Parameters

  1. Go to Maintenance Menu>Maintenance>System Parameters

  2. Select the Credit Cards entry in the box labeled Parameter Group.

  3. Click on the CreditCardProcessor entry in the box labeled Parameters In Selected Group.

  4. Choose YahooAPI in the box on the lower right hand corner of the form and click the Save button.

 image1060.jpg

  1. Return to the box labeled Parameters In Selected Group and select the YahooAPIGatewayStoreID parameter.

  2. Enter your Yahoo Store ID (YHST number) in the box labeled Parameter Text and click the Save button.

  3. Return to the box labeled Parameters In Selected Group and select the YahooAPIGatewayToken parameter.

  4. Enter your Yahoo! Partner Store Contract Token in the box labeled Parameter Text and click the Save button.

Note: The Yahoo! Partner Store Contract Token will be sent by Yahoo! to the email address that is on file for the Yahoo! company store that is requesting the use of the API (see the previous section of this document entitled, Setting Up the New Yahoo! Payment API in Yahoo Store Manager). The figure below shows an example of what a Partner Store Contract Token looks like (highlighted in yellow).

image309.jpg

Tip: The Yahoo! Partner Store Contract  ”token” may be ”text wrapped” by their email client software - meaning that the email software may introduce carriage returns and/or line feed characters in the token. The merchant is best served by copying the token then pasting it into Wordpad or Notepad with text wrap turned off. If the token appears on a single line then it is OK. If the token appears on several lines, they will need to back out the carriage returns/line feed characters before copying and pasting into the Order Manager's System Parameters.

  1. Click the Close button the top of the Set System Parameters form.

  2. Click the Return to Main Menu button.

  3. The setup is now complete.

Setting Cart-Based Parameters

  1. Go to System Parameters>User, PC or Cart-Based Parameters.

  2. Click the radio button labeled "Cart ID".

  3. In the box labeled Shopping Carts, select the name of your Yahoo cart.  

  4. Go to the box labeled Parameter Group click on Credit Cards.

  5. Select the parameter CreditCardProcessor in the box labeled Parameters In Selected Group.

  6. Choose the entry YahooAPI and click the Save button.

image1048.jpg
 

  1. Return to the box labeled Parameters in Selected Group.

  2. Select the YahooAPIGatewayStoreID parameter.

  3. Enter your Yahoo Store ID (YHST number) in the box labeled Parameter Text and click the Save button.

image411.gif

  1. Return to the box labeled Parameters in Selected Group.

  2. Select the YahooAPIGatewayToken parameter.

  3. Enter your Yahoo! Partner Store Contract Token in the box labeled Parameter Text and click the Save button.

Note: The Yahoo! Partner Store Contract Token will be sent by Yahoo! to the email address that is on file for the Yahoo! company store that is requesting the use of the API (see the previous section of this document entitled, Setting Up the New Yahoo! Payment API in Yahoo Store Manager). The figure below shows an example of what a Partner Store Contract Token looks like (highlighted in yellow).

image309.jpg

Tip: The Yahoo! Partner Store Contract  ”token” may be ”text wrapped” by their email client software - meaning that the email software may introduce carriage returns and/or line feed characters in the token. The merchant is best served by copying the token then pasting it into Wordpad or Notepad with text wrap turned off. If the token appears on a single line then it is OK. If the token appears on several lines, they will need to back out the carriage returns/line feed characters before copying and pasting into the Order Manager's System Parameters.

  1. Click the Close button at the top of the Special System Parameters form.

  2. Click the Close button at the top of the Set System Parameters form.

  3. Click the Return to Main Menu button. The setup is now complete.

 

Troubleshooting

  1. Check the values in the Order Manager system parameters. Yahoo! Partner Store Tokens are not the same across multiple Yahoo! store accounts. Make sure that the partner token information entered into the Order Manager's cart-based parameters for a given cart matches that for the appropriate Yahoo! store.

  2. If a Partner Store token has expired or was revoked, the customer may receive an error message, as shown below, when attempting to process credit card transactions. Please note that there may be other circumstances that cause this error, as well.  

image1059.jpg

 

  1. Yahoo! Partner Store tokens are only valid for one year (by default) and then expire. Yahoo! will send a warning email (to the address on the Yahoo! company file) to notify the merchant that their token will expire within 30 days. Follow the directions in the email to renew the token:

Dear Yahoo! Merchant Solutions Web Services and APIs partner,

Your API access token(s) for the following Yahoo! Stores will expire within the next 30 days:

xxxxxxxxxxxxxxxxxx - store

Tokens coming up for expiry must be renewed to ensure uninterrupted access to Yahoo! Merchant Solutions Web Services and APIs for the stores you have been provisioned with API access to. Once you've renewed an access token, a new token will be generated for you to use.

To renew tokens:

1.Log in to the Manage Partner Tokens tool, at the following URL: https://apipartners.store.yahoo.com/.

2.In the Expiring Tokens tab, select the store token you wish to renew.

3. Click the "Renew Selected" button.

4. By default, the new token will be set to expire one year from the date it is renewed. Optionally, you may wish to set your own token expiry date, which may be up to five years from the date the token is renewed.

5. Click the "Renew Token" button.

Once a new token has been generated, you will be provided with new token information via email. You must begin using this new token information before the token it replaces expires.

More information about Yahoo! Merchant Solutions Web Services and APIs can be found in our online help center. If you have any questions about this email, or about API access tokens, please contact us.

Best regards,

The Yahoo! Small Business team

  1. If the merchant does not take action to prevent the token from expiring, they will receive an email from Yahoo! when the token has expired. Follow the directions in the email to renew the token:

This notice is in regards to the following Yahoo! Store: yhst-xxxxxxxxxxxxxxxx

Dear Yahoo! Merchant Solutions Web Services and APIs partner,

Your API access token for the Yahoo! Store listed above has expired. If you still wish to have access to Yahoo! Merchant Solutions Web Services and APIs for this store, you must renew the expired token. Once you've renewed an expired token, a new token will be generated for you to use.

To renew an expired token:

1. Log in to the Manage Partner Tokens tool, at the following URL: https://apipartners.store.yahoo.com/.

2. In the Expiring Tokens tab, select the expired store token you wish to renew.

3. Click the "Renew Selected" button.

4. By default, the new token will be set to expire one year from the date it is renewed. Optionally, you may wish to set your own token expiry date, which may be up to five years from the date the token is renewed.

5. Click the "Renew Token" button.

New token information will be provided to you via email. You must begin using this new token immediately, as the expired token it replaces is no longer valid.

More information about Yahoo! Merchant Solutions Web Services and APIs can be found in our online help center. If you have any questions about this email, or about API access tokens, please contact us.

Best regards,

The Yahoo! Small Business team

  1. If a token has been revoked, Yahoo! will also send an email to the address on the Yahoo! company file. This email may also  be sent as a result of removing Stone Edge Technologies, Inc. from the partner list (refer to step 4 in Setting Up the New Yahoo! Payment API in Yahoo Store Manager). Re-add the SETI partner agreement number to generate a new store token, or Contact Yahoo! for assistance:

This notice is in regards to the following Yahoo! Store: xxxxxxxxxx

Dear Yahoo! Merchant Solutions Web Services and APIs partner,

We're writing to notify you that your partner API access token for the Yahoo! Store listed above has been revoked by the store merchant. When a token has been revoked, you may no longer use this token to make web service calls.

If you feel this token has been revoked in error, please contact the store merchant.

For more information about Yahoo! Merchant Solutions Web Services and APIs, please visit our online help center.

Best regards,

The Yahoo! Small Business team

  1. When a new token is received from Yahoo!, update the Order Manager system parameter YahooAPIGatewayToken with the new value (in the Main system parameters or Cart-based parameters, depending on which group you use).  

 

General Information

Requirements: To utilize this interface, the user must have Order Manager 5.612 or higher installed. Before attempting to configure this feature, the merchant must have Stone Edge Technologies Inc.'s Yahoo! Partner Agreement Number. To obtain that information, contact our Sales department via email or call 610-994-3699, option 1.

Limitations: The new Yahoo! API will not have access to the Manual Transactions system in Yahoo!, so the merchant can only run transactions against orders originating in Yahoo! (a Yahoo! Order Number is required for processing). Therefore,the new Yahoo! Payment API  cannot be used with the Order Manager's Manual Orders or Point of Sale systems. If a merchant uses either of those systems, another payment gateway will have to be configured in Order Manager's main system parameters to process payments for those orders. The New Yahoo! Payment API parameters should then be setup in the cart-based parameters for your Yahoo shopping cart to process payments for imported orders.

Multiple Captures against an Authorization is not supported in the Order Manager even though you may be able to do this at Yahoo (PayPal transactions only).

Multiple Credits against a Capture is supported up to the original capture amount.

The new Yahoo! API does not support blind credits.

Considerations: Yahoo has two different payment systems: PayPal and FDMS (First Data Corp). The following restrictions are in place depending on payment system used:

PayPal:

Authorizations can be captured. Authorizations can be voided.

Captures can be credited. Captures cannot be voided, they must be credited.

Credits cannot be voided, this must be done at Yahoo!

FDMS:

Authorizations can be captured. Authorizations cannot be voided.

Captures can be voided, the Transaction will be returned to Authorization status.

Captures can be credited.

Credits can be voided.

NOTE: If the capture was exported to an accounting application, the Order Manager will leave the original capture transaction, create a new transaction reversing the captured amount and will create a third transaction representing the original Authorization which can be captured again.

 

 

Created 6/11/2009

Modified: 2/5/10