in

AlertPay Developers Community

Are multiple items possible?

Last post 08-19-2008 5:04 AM by Beaster. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 07-16-2008 9:43 PM

    • DaveCS
    • Top 200 Contributor
    • Joined on 07-17-2008
    • Posts 5

    Are multiple items possible?

     Hello, I have created a cart written in VB ASP.NET.  I've been through the pdf and vb code. 

     My question is when the user has multiple item types in the cart can I pass all of the values to AlertPay at once.

     For example. The user has opted to buy 1 fig at $1.00, 3 apples at $1.50, 4 oranges at $2.00. Can I send all of those values to AlertPay and have them pay once or do I need to tally up the entire order and call it (example) orderid12345 and send AlertPay the totaled order (orderid12345) as one item?

     Thanks, Dave 

     

     

     

  • 07-17-2008 10:25 AM In reply to

    Re: Are multiple items possible?

    Hi Dave,
     
    Please send the total order as one item.
     
    We do not have the feature of multiple checkouts yet, however in the button code, that is generated for you, for the ap_itemname field, please write a generic (one) name for all items and put that as your ap_itemname value. The multiple items that a User will purchase from your site will be dealt on your end. AlertPay will take one string value for all items combined in ap_itemname at the payprocess. Multiple item check out is a feature that we are working on currently and it should be available later this year.
     
    - Sadaf 

     

  • 07-17-2008 1:15 PM In reply to

    • DaveCS
    • Top 200 Contributor
    • Joined on 07-17-2008
    • Posts 5

    Re: Are multiple items possible?

    Thanks a million, very helpful.

    Take care, Dave 

  • 07-17-2008 5:32 PM In reply to

    Re: Are multiple items possible?

    No Problem

    - Sadaf 

  • 07-30-2008 11:04 AM In reply to

    Re: Are multiple items possible?

    Also you can make an additional field that holds the purchase history and when  returned to your ALERT_URL from alertpay site you can store in the database like this

     

    name=ap_history  value= "1 apple , 2 oranges , 1 banana equals fruit salade"

     

    You can fill the value with your preferred method i use php and in the alert_url in the success section

     insert the value to the database

     

    Best Regards

     

  • 07-30-2008 4:57 PM In reply to

    • DaveCS
    • Top 200 Contributor
    • Joined on 07-17-2008
    • Posts 5

    Re: Are multiple items possible?

     Thanks for that info. I am pushed forward and just have all items and quantites tallied then when the entire operation is a sucess I write to the database.

    Thanks again for your help, Dave 

  • 08-18-2008 11:58 PM In reply to

    Re: Are multiple items possible?

    galvar:

    Also you can make an additional field that holds the purchase history and when  returned to your ALERT_URL from alertpay site you can store in the database like this

     

    name=ap_history  value= "1 apple , 2 oranges , 1 banana equals fruit salade"

     

    You can fill the value with your preferred method i use php and in the alert_url in the success section

     insert the value to the database

     

    Best Regards

     

     

    Could you post an example of the php code you're using - to pull multiple purchases into One variable; that you then send under one ap_itemnumber field?  I am sure quite a few people will benefit from seeing how you're pulling this off.

     

  • 08-19-2008 5:04 AM In reply to

    Re: Are multiple items possible?

    I just posted one right here

    http://dev.alertpay.com/forums/p/1710/4063.aspx#4063

    Cheers ;-)

Page 1 of 1 (8 items)

  AlertPay - Verified by Visa AlertPay - secure credit card and checking services BBBOnline Reliability Program