I'm trying to add paypal shopping cart to my site. I get my data from ms
access using asp. I added paypal code to my page. Can you tell me how can I
pass my data to paypal variables? What is the format? You can see the paypal
code here .The two variables are Item_Name & Amount and my two fields are
ITEM & PRICE. As you can see I should replace "HTML BOOK" & "24.99" with my
item & price. I tried this format and it didn't work
<input type="hidden" name="amount" value<%=(FP_Field(fp_rs,"price"))%>>
I'm using fP2003 and win xp.

I thank you in advance

<form name="_xclick" target="paypal" action="https://www.paypal.com"
method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="me@mybusiness.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="HTML book">
<input type="hidden" name="amount" value="24.99">
<input type="image" src="http://www.paypal.com/en_US/i/btn/sc-but-01.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
secure!">
<input type="hidden" name="add" value="1">
</form>

Re: paypal code by Stefan

Stefan
Wed Mar 29 03:33:32 CST 2006

When using the FP DBRW your variables need to be generated inside of the DBR region (inside of yellow area) as say
<% amount = FP_Field(fp_rs,"price") %>
<% item_name = FP_Field(fp_rs,"item_name") %>

Then you can use them later on the page as
<input type="hidden" name="amount" value"<%=amount%>">
<input type="hidden" name="item_name" value"<%=item_name%>">

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


"bahram" <bahram@discussions.microsoft.com> wrote in message news:03A731C6-F5D4-4171-8BA8-BE0C02F98DCD@microsoft.com...
| I'm trying to add paypal shopping cart to my site. I get my data from ms
| access using asp. I added paypal code to my page. Can you tell me how can I
| pass my data to paypal variables? What is the format? You can see the paypal
| code here .The two variables are Item_Name & Amount and my two fields are
| ITEM & PRICE. As you can see I should replace "HTML BOOK" & "24.99" with my
| item & price. I tried this format and it didn't work
| <input type="hidden" name="amount" value<%=(FP_Field(fp_rs,"price"))%>>
| I'm using fP2003 and win xp.
|
| I thank you in advance
|
| <form name="_xclick" target="paypal" action="https://www.paypal.com"
| method="post">
| <input type="hidden" name="cmd" value="_cart">
| <input type="hidden" name="business" value="me@mybusiness.com">
| <input type="hidden" name="currency_code" value="USD">
| <input type="hidden" name="item_name" value="HTML book">
| <input type="hidden" name="amount" value="24.99">
| <input type="image" src="http://www.paypal.com/en_US/i/btn/sc-but-01.gif"
| border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
| secure!">
| <input type="hidden" name="add" value="1">
| </form>
|



Re: paypal code by bahram

bahram
Thu Mar 30 13:15:27 CST 2006

Thanks Stefan
Your solution is perfect. But I can't insert those codes inside the ye11ow
area( or burgundy fonts in code area). FP editor rejects them. Should I add
these two variables to my table? Please help
Thanks
Bahram

"Stefan B Rusynko" wrote:

> When using the FP DBRW your variables need to be generated inside of the DBR region (inside of yellow area) as say
> <% amount = FP_Field(fp_rs,"price") %>
> <% item_name = FP_Field(fp_rs,"item_name") %>
>
> Then you can use them later on the page as
> <input type="hidden" name="amount" value"<%=amount%>">
> <input type="hidden" name="item_name" value"<%=item_name%>">
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
> _____________________________________________
>
>
> "bahram" <bahram@discussions.microsoft.com> wrote in message news:03A731C6-F5D4-4171-8BA8-BE0C02F98DCD@microsoft.com...
> | I'm trying to add paypal shopping cart to my site. I get my data from ms
> | access using asp. I added paypal code to my page. Can you tell me how can I
> | pass my data to paypal variables? What is the format? You can see the paypal
> | code here .The two variables are Item_Name & Amount and my two fields are
> | ITEM & PRICE. As you can see I should replace "HTML BOOK" & "24.99" with my
> | item & price. I tried this format and it didn't work
> | <input type="hidden" name="amount" value<%=(FP_Field(fp_rs,"price"))%>>
> | I'm using fP2003 and win xp.
> |
> | I thank you in advance
> |
> | <form name="_xclick" target="paypal" action="https://www.paypal.com"
> | method="post">
> | <input type="hidden" name="cmd" value="_cart">
> | <input type="hidden" name="business" value="me@mybusiness.com">
> | <input type="hidden" name="currency_code" value="USD">
> | <input type="hidden" name="item_name" value="HTML book">
> | <input type="hidden" name="amount" value="24.99">
> | <input type="image" src="http://www.paypal.com/en_US/i/btn/sc-but-01.gif"
> | border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
> | secure!">
> | <input type="hidden" name="add" value="1">
> | </form>
> |
>
>
>

Re: paypal code by bahram

bahram
Thu Mar 30 14:40:02 CST 2006

Hi Stefan
Please disregard my last post. Inserting codes was no problem. But the codes
must read as this:
<input type="hidden" name="amount" value= "<%=amount%>">
<input type="hidden" name="item_name" value= "<%=item_name%>">
Thanks again

"Stefan B Rusynko" wrote:

> When using the FP DBRW your variables need to be generated inside of the DBR region (inside of yellow area) as say
> <% amount = FP_Field(fp_rs,"price") %>
> <% item_name = FP_Field(fp_rs,"item_name") %>
>
> Then you can use them later on the page as
> <input type="hidden" name="amount" value"<%=amount%>">
> <input type="hidden" name="item_name" value"<%=item_name%>">
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
> _____________________________________________
>
>
> "bahram" <bahram@discussions.microsoft.com> wrote in message news:03A731C6-F5D4-4171-8BA8-BE0C02F98DCD@microsoft.com...
> | I'm trying to add paypal shopping cart to my site. I get my data from ms
> | access using asp. I added paypal code to my page. Can you tell me how can I
> | pass my data to paypal variables? What is the format? You can see the paypal
> | code here .The two variables are Item_Name & Amount and my two fields are
> | ITEM & PRICE. As you can see I should replace "HTML BOOK" & "24.99" with my
> | item & price. I tried this format and it didn't work
> | <input type="hidden" name="amount" value<%=(FP_Field(fp_rs,"price"))%>>
> | I'm using fP2003 and win xp.
> |
> | I thank you in advance
> |
> | <form name="_xclick" target="paypal" action="https://www.paypal.com"
> | method="post">
> | <input type="hidden" name="cmd" value="_cart">
> | <input type="hidden" name="business" value="me@mybusiness.com">
> | <input type="hidden" name="currency_code" value="USD">
> | <input type="hidden" name="item_name" value="HTML book">
> | <input type="hidden" name="amount" value="24.99">
> | <input type="image" src="http://www.paypal.com/en_US/i/btn/sc-but-01.gif"
> | border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
> | secure!">
> | <input type="hidden" name="add" value="1">
> | </form>
> |
>
>
>