ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Buy Safe
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Buy Safe

 Post Reply Post Reply Page  123>
Author
Message
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Topic: Buy Safe
    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. -- Confused 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
Back to Top
bearlygrins View Drop Down
Newbie
Newbie


Joined: 07-June-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bearlygrins Quote  Post ReplyReply Direct Link To This Post Posted: 27-August-2008 at 8:59pm

Confused 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
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 27-August-2008 at 9:11pm
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.
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 12:31pm
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
 
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 12:34pm
Ooops, I forgot to put '<%=pIdOrder%>' in red. That's the 5th variable.

Alan
Back to Top
bearlygrins View Drop Down
Newbie
Newbie


Joined: 07-June-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bearlygrins Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 5:29pm
Thank you so much for sharing this information! Clap 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...Cry
 
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
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 5:37pm
Thanks for the tip. With my store being live, I'm always hesitant to do too much testing. Unhappy but I didn't even think about multiple items. I think I'll send ask BuySafe about that one.

Thanks,

Alan
Back to Top
bearlygrins View Drop Down
Newbie
Newbie


Joined: 07-June-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bearlygrins Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 5:59pm
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:
Then, for EACH ITEM in the cart, call the function buySAFE_addCartItem
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
Back to Top
bearlygrins View Drop Down
Newbie
Newbie


Joined: 07-June-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bearlygrins Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 6:00pm
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
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 28-August-2008 at 6:54pm
Thank You Clap

That's great. The good news is that 3.5 is due out soon.

Alan
Back to Top
 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.039 seconds.