Elevate Your e-Commerce
Development tools and solutions to revolutionize your business.
Featured Developer Solution
Description
Once a Plimus shopper has successfully made a single purchase, they are assigned an account number. This account number is delivered to the seller as IPN variable accountId. Using this accountId, the seller can use the Plimus Buy Anyware API to obtain a limited-time login authentication token; which they can then use to call a BuyNow page with login automatically complete. The BuyNow page can be called at any point in the process (e.g. Step 1, Step 2, paypal, cp). This eliminates the need for the shopper to re-enter personal information (though clearly, by arriving at Step 1, the shopper can verify or edit their information), or to enter new credit card information (the shopper can use the credit card information they used last time, or enter a new payment instrument of any kind).
Use Case 1: Enter BuyNow at Step1, Pre-Logged In
The first step is to obtain an authentication token. This is done by using the following URL construct:
https://ws.plimus.com/services/2/tools/auth-token?shopperId=[accountId]&expirationInMinutes=[desired time]
The authentication token is a long, complex hexadecimal value that may look similar to:
Il%2FymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv
4z96GuPwFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D
The BuyNow page may now be accessed by using the following URL construct:
http://www.plimus.com/jsp/entrance.jsp?contractId=[contractId]&target=[desired process step]&token=[authentication token]
For instance, the URL may look as follows:
http://www.plimus.com/jsp/entrance.jsp?contractId=2115828&token=Il/ymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv4z96GuP
wFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D&target=step1
The result of this URL, assuming all is correct, will be the BuyNow page showing at step1, with the seller logged in, as per the following screenshot:

If there is any problem with the attempt (say, for instance, the authentication token has expired), the shopper will see a blank screen.
Use Case 2: Enter BuyNow at Step2, Pre-Logged In
The first step is to obtain an authentication token. This is done by using the following URL construct:
https://ws.plimus.com/services/2/tools/auth-token?shopperId=[accountId]&expirationInMinutes=[desired time]
The authentication token is a long, complex hexadecimal value that may look similar to:
Il%2FymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv
4z96GuPwFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D
The BuyNow page may now be accessed by using the following URL construct:
http://www.plimus.com/jsp/entrance.jsp?contractId=[contractId]&target=[desired process step]&token=[authentication token]
For instance, the URL may look as follows:
http://www.plimus.com/jsp/entrance.jsp?contractId=2115828&token=Il/ymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv4z96GuP
wFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D&target=step2
The result of this URL, assuming all is correct, will be the BuyNow page showing at step2, with the seller logged in, as per the following screenshot:

If there is any problem with the attempt (say, for instance, the authentication token has expired), the shopper will see a blank screen.
Use Case 3: Enter Shopper Control Panel, Pre-Logged In
The first step is to obtain an authentication token. This is done by using the following URL construct:
https://ws.plimus.com/services/2/tools/auth-token?shopperId=[accountId]&expirationInMinutes=[desired time]
The authentication token is a long, complex hexadecimal value that may look similar to:
Il%2FymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv
4z96GuPwFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D
The Shopper Control Panel page may now be accessed by using the following URL construct:
http://www.plimus.com/jsp/entrance.jsp? targetcp&token=[authentication token]
For instance, the URL may look as follows:
http://www.plimus.com/jsp/entrance.jsp?contractId=2115828&token=Il/ymWFIrmtJ9s7%2BBuGbRLzrGZN0ewnLeu7xC0L9XHqcodHv4z96Gu
PwFbClE1ircTpe7YQxLeXJCHxHBClIRQ%3D%3D&target=cp
The result of this URL, assuming all is correct, will be the Shopper Control Panel, with the seller logged in, as per the following screenshot:

If there is any problem with the attempt (say, for instance, the authentication token has expired), the shopper will see a blank screen.
Sign up for a Sandbox Account
Experiment in our secure test area. Already have an account? Login here >
Plimus Buy Anyware™
Technical Perspective


