Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method Signature PlaceSingleSignonOrderResult placeSingleSignonOrder(Credentials c, String cpSsoOid, String cpccSsoOid, String[] itemIds, int[] quantities, String screenBrandingThemeCode);
Description
This order uses the customer profile information stored with single signon credentials to place a new order.
Parameters Credentials c - The credentials of the API user that is making the call.String cpSsoOid - the Single Signon Oid for the customer profile to associate this order with.String cpccSsoOid - The Single SIgnon Oid associated with the stored credit card to use on this new order.String[] itemIds - the item ids to add to this new orders.int[] quantities - The quantities associated with each item on the new order.String screenBrandingThemeCode - the screen branding theme code to associate with the new order.
Result PlaceSingleSignonOrderResult - All the result information associated with the call including over success, receipt text, order id and any errors when unsuccessful.

placeSingleSignonOrder2

Method Signature

PlaceSingleSignonOrderResult2 placeSingleSignonOrder2(Credentials credentials, String cpSsoOid, String cpccSsoOid, String[] itemIds, int[] quantities, String screenBrandingThemeCode, decimal[] arbitraryUnitCosts);

Description

This method is identical to placeSingleSignonOrder save for the extra parameter arbitraryUnitCosts, which allows for specifying arbitrary unit costs

Parameter

credentials - the credentials of the API user that is making the call. This will include your secure.ultracart.com 1) merchant id, 2) login, and 3) password

Parameter

cpSsoOid - the Single Signon Oid (Object IDentifier) for the customer profile to associate this with this order

Parameter

cpccSsoOid - the Single Signon Oid (Object IDentifier) associated with the stored credit card to use on this new order

Parameter

itemIds - the item ids to add to this new orders

Parameter

quantities - the quantities associated with each item on the new order

Parameter

screenBrandingThemeCode - the screen branding theme code to associate with the new order

Parameter

arbitraryUnitCosts - the arbitrary unit costs you wish to employ with this order

Result

PlaceSingleSignonOrderResult2 - All the result information associated with the call including over success, receipt text, order id and any errors when unsuccessful.

Anchor
_Toc289152173
_Toc289152173
resendReceipt

...