Buy Safe |
Post Reply | Page 123> |
Author | |
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 10-July-2008 at 3:19pm |
Hi All,
I want to use BuySafe in my store. It's a bonding service for buyers (a hold over from my ebay store) which will bond their purchase up to $25,000. I find that this helps sales, particularly higher priced items as it comforts the Buyer. Since they do not integrate with PC at this time, I need to add their widget to the receipt page (orderComplete.asp). All of that I've done. Here's the problem. I have to provide 5 variables to their code for this to work. I need to add the Order Number, Item Title, Item Quantity purchased, Item Price and the total number of items. -- I have no idea what strings to use to get this information. I'm sure they are all on that page already but I don't know which is which. If anyone knows the strings I would love to get that information. Please forgive me if this is beyond the scope of this forum. I would be happy to pay someone for this mod because I know it helps sales. Thanks for any info. Alan |
|
bearlygrins
Newbie Joined: 07-June-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I'm trying to integrate this service too. I have their logo in my footer showing up just fine, and they keep calling me to ask when the final order page will be showing their service. Have you had any success with this at all? Just 5 variable names and we can add a small script to the bottom of the ordercomplete.asp page... sigh...
I haven't found information on variables anywhere on the Early Impact site. Wouldn't Build-to-Order developers need this info?! |
|
http://superoutletmall.com
|
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
We are adding a new file in v3.5 that will allow you to easily insert scripts such as this to your order confirmation page. It will contain a list of commonly used variables for your convenience. If you send me your documentation I will see what I can do to assist you at the same time we are testing this new feature.
|
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Bearlygrins,
I got this to work (at least in my test) by adding to the pc/orderCcomplete.asp the code below: At about line 1463 it shows: <% ' End Continue shopping button %> </table> I changed it to show: <% ' End Continue shopping button %> <br /> <tr> <td align="right"> <!-- BEGIN: buySAFE Other Platform widget --> <script type="text/javascript" src="https://seal.buysafe.com/private/rollover/utils.js"></script> <script type="text/javascript"> <!-- // Instructions: Replace any items in <brackets> with JavaScript variables or literal values from your cart. // Basic order information var buySAFE_Merchant = 'this should be part of the code BuySafe provides to you'; var buySAFE_OrderNum = '<%=pIdOrder%>'; // Then, for EACH ITEM in the cart, call the function buySAFE_addCartItem: buySAFE_addCartItem( "<%=pDescription%>", "<%=pQuantity%>", "<%=punitPrice%>", "<%=pSku%>" ) // Sample of a cart with 2 items in it // var buySAFE_Merchant = 'abcabcabcabcabcabcabc...abcabcabcabcabcabcabc%3D%3D'; // var buySAFE_OrderNum = 'order_2007-05-11_00123'; // buySAFE_addCartItem( "iPod 30GB", 1, 199.99, "AIP1234" ) // buySAFE_addCartItem( "iPod Carrying Case", 2, 15.99, "AIP-CASE-100" ) //--> </script> <script type="text/javascript" src="https://seal.buysafe.com/private/rollover/widget.js"></script> <!-- END: buySAFE Other Platform widget --> </td> </tr> </table> By taking the code BuySafe provides and changing the item I've noted in red, everything seems to work. Hope this helps, Alan |
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Ooops, I forgot to put '<%=pIdOrder%>' in red. That's the 5th variable.
Alan |
|
bearlygrins
Newbie Joined: 07-June-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thank you so much for sharing this information! If you're using it in your store, you should know that it does not pick up multiple items. I tried the code in my store and tested it by selecting more than one product, and the widget only picks up details for the last product. That makes it look like the first product is not bondable! so sorry to have to tell you...
Guess we'll have to wait for a solution from EI, unless someone else out there knows how to handle it!
Thanks again!
|
|
http://superoutletmall.com
|
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thanks for the tip. With my store being live, I'm always hesitant to do too much testing. but I didn't even think about multiple items. I think I'll send ask BuySafe about that one.
Thanks, Alan |
|
bearlygrins
Newbie Joined: 07-June-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I just sent BuySafe an email and will keep you posted. I explained the problem and gave them all the variables you identified, and attached a copy of the ordercomplete.asp page (minus the widget code).
I also asked them if there ought not to be a loop of some kind to add the details for each product, one at a time, for this line of widget code:
If they don't have any answers, I guess we'll have to wait for EI to give us the tool they mentioned for writing small scripts.
Thanks!
|
|
http://superoutletmall.com
|
|
bearlygrins
Newbie Joined: 07-June-2007 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Oh, for future reference, here are the variables I emailed to BuySafe:
the unique order number: %=pIdOrder%
item_title: %=pDescription%
item_quantity_purchased: %=pQuantity%
item_price: %=punitPrice%
item_item_number: %=pSku% |
|
http://superoutletmall.com
|
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thank You
That's great. The good news is that 3.5 is due out soon. Alan |
|
Post Reply | Page 123> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |