Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

tktuan

@tktuan
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Add two difference items to shopping card-Paypal
    T tktuan

    Dear cjoki ! Thanks for your reply. This is what i need. When i was waiting for your reply, i found another way to post items to paypal shopping card as following scribe bellow: -Using client script(js) to post each form. But this is not better than the way that you tell me.

    for(var i=0;i

    Thanks in advance !

    modified on Wednesday, December 30, 2009 9:26 PM

    Linux, Apache, MySQL, PHP tutorial com business help

  • Add two difference items to shopping card-Paypal
    T tktuan

    Hi ! Thanks for your reply , but that is not what i need. IF your couldn't understand my question, im sorry because my english. My question is: How to send data to paypal after we got information. For Example, to send one item we use this code bellow.

    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="business" value="sampleEmail@domain.com">
    <input type="hidden" name="lc" value="GB">
    <input type="hidden" name="item_name" value="ITEM 001">
    <input type="hidden" name="item_number" value="001">
    <input type="hidden" name="amount" value="1000.00">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="button_subtype" value="products">
    <input type="hidden" name="add" value="1">
    <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHostedGuest">
    <input type="image" src="https://www.paypal.com/en\_GB/i/btn/btn\_cart\_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypal.com/en\_GB/i/scr/pixel.gif" width="1" height="1">
    </form>

    this code just only put one item to shopping card. In my question i 'd like to send to shopping cart(paypal shopping card) two difference items with their information : Item one: Item name:Item 001 price :10USD item_number:001 Item two: Item name:Item 002 price :20USD item_number:002 Have any ideas? Thanks in regards

    Linux, Apache, MySQL, PHP tutorial com business help

  • Add two difference items to shopping card-Paypal
    T tktuan

    Hi friends ! I need to add two or three difference items with their information but I don't know how to do that. Normal way, to put an item to shopping we just only create the button "Add to card" button and use the code from paypal as bellow.

    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_cart">
    <input type="hidden" name="business" value="sampleEmail@domain.com">
    <input type="hidden" name="lc" value="GB">
    <input type="hidden" name="item_name" value="ITEM 001">
    <input type="hidden" name="item_number" value="001">
    <input type="hidden" name="amount" value="1000.00">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="button_subtype" value="products">
    <input type="hidden" name="add" value="1">
    <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHostedGuest">
    <input type="image" src="https://www.paypal.com/en\_GB/i/btn/btn\_cart\_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypal.com/en\_GB/i/scr/pixel.gif" width="1" height="1">
    </form>

    this code just only put one item to shopping card. Now, for example, i got two difference items with their information : Item one: Item name:Item 001 price :10USD item_number:001 Item two: Item name:Item 002 price :20USD item_number:002 Can anybody help me with sample code to put these two items to paypal shopping card ! Notes: I got these items and their information. I got a Checkout button. Then anybody press to Checkout button, these two items will add to shopping card of Paypal(the result will the same as we click to the "Add to card" button of item one and then continue Shopping and click to the "Add to card" button of item two). Thanks in advance !

    Linux, Apache, MySQL, PHP tutorial com business help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups