that´s is goign to be my next step, can I put directly in the wicket form
post to pay pal or i there any method to set the post in wicket¿?

thanks Steave

Steve Swinsburg-3 wrote:
> 
> Why not process your form normally via Wicket, then make a POST request to
> PayPal?
> 
> cheers,
> Steve
> 
> 
> On 29/03/2010, at 4:49 PM, victorTrapiello wrote:
> 
>> 
>> Yes I use POST,
>> 
>> I´m not using any wicket form, I just set to my value a Tesxt fiels and
>> then
>> I add the wicket in this form, but as I said bfore it seems the wicket is
>> lost by the way to pay pal because I appears empty, I´m thinking now
>> maybe
>> is something related with the pay pal´s encryption.....
>> 
>> <form action="https://www.paypal.com/cgi-bin/webscr"; method="post"> 
>> <!-- Identify your business so that you can collect the payments. --> 
>> <input type="hidden" name="business" value="[email protected]"> 
>> <!-- Specify a Buy Now button. --> 
>> <input type="hidden" name="cmd" value="_xclick"> 
>> <!-- Specify details about the item that buyers will purchase. --> 
>> <input type="text" name="item_name" value="Hot Sauce-12 oz. Bottle"> 
>> <input type="text" name="item_name" wicket:id="product" > 
>> 
>> <!-- in the java file
>> Model value=new Model();
>> value.setObject("My Product");
>> Textfield product=new TextField ("product", value);   
>> -->
>> 
>> <input type="hidden" name="amount" value="5.95"> 
>> <input type="hidden" name="currency_code" value="USD"> 
>> <!-- Display the payment button. --> 
>> <input type="image" name="submit" border="0" 
>> src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"; 
>> alt="PayPal - The safer, easier way to pay online"> 
>> https://www.paypal.com/en_US/i/scr/pixel.gif  
>> </form> 
>> 
>> 
>> MartinM wrote:
>>> 
>>> Do you use POST or GET ?
>>> 
>>> **
>>> Martin
>>> 
>>> 2010/3/29 victorTrapiello <[email protected]>:
>>>> 
>>>> hahahha it is not as easy as you think, I just put these 2 lines to
>>>> show
>>>> how
>>>> it is in the reallity and how I´m trying to do with wickets, I only
>>>> have
>>>> this one on in my progrmam
>>>> 
>>>> <input type="text" name="item_name" wicket:id="itemName">
>>>> 
>>>> 
>>>> 
>>>> msc65jap wrote:
>>>>> 
>>>>> It not a wicket issue. You have two input elements with the same name:
>>>>> 
>>>>> 1.<input type="text" name="item_name">
>>>>> 2.<input type="text" name="item_name" wicket:id="itemName">
>>>>> 
>>>>> Remove the line 1 and voila!
>>>>> 
>>>>> Best,
>>>>> James.
>>>>> 
>>>>> On 28 March 2010 22:06, victorTrapiello <[email protected]> wrote:
>>>>>> 
>>>>>> Hello guys! I´m trying to implement a simple "buy now" action with
>>>>>> pay
>>>>>> pal:
>>>>>> with the code:
>>>>>> 
>>>>>>   # xxx
>>>>>> 
>>>>>> <form action="https://www.paypal.com/cgi-bin/webscr"; method="post">
>>>>>> <!-- Identify your business so that you can collect the payments. -->
>>>>>> <input type="hidden" name="business"
>>>>>> value="[email protected]">
>>>>>> <!-- Specify a Buy Now button. -->
>>>>>> <input type="hidden" name="cmd" value="_xclick">
>>>>>> <!-- Specify details about the item that buyers will purchase. -->
>>>>> 
>>>>>> <input type="hidden" name="amount" value="5.95">
>>>>>> <input type="hidden" name="currency_code" value="USD">
>>>>>> <!-- Display the payment button. -->
>>>>>> <input type="image" name="submit" border="0"
>>>>>> src="styles/images/comprar.jpg"
>>>>>> alt="PayPal - The safer, easier way to pay online">
>>>>>> styles/images/comprar.gif
>>>>>> </form>
>>>>>> 
>>>>>> if for example I excute
>>>>>> <input type="text" name="item_name" wicket:id="itemName">
>>>>>> it appears on the scream the text box filled with my item_name but
>>>>>> when
>>>>>> you
>>>>>> press the form´s button it sends you to a paypal web page in which
>>>>>> the
>>>>>> field
>>>>>> item_name appears empty, it is like the wicket is lost by the way....
>>>>>> any
>>>>>> help¿?
>>>>>> 
>>>>>> Thanks guys!!!
>>>>>> 
>>>>>> 
>>>>>> jwcarman wrote:
>>>>>>> 
>>>>>>> Does anyone have a required border class (something that
>>>>>>> automatically
>>>>>>> puts a little red "*" next to a required field)?  I have one that
>>>>>>> I'm
>>>>>>> using, but it doesn't work under ajax!  When the component gets
>>>>>>> updated via ajax, it keeps appending little red "*"s to the markup.
>>>>>>> Don't get me wrong, it's quite funny, but I just don't think my
>>>>>>> users
>>>>>>> will get it.  I've tried using a border and I've also tried doing it
>>>>>>> as a behavior.  Either way I get the endless string if "*"s.
>>>>>>> 
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://old.nabble.com/Required-Border...-tp28006887p28062450.html
>>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Best,
>>>>> James.
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Required-Border...-tp28006887p28065083.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/Required-Border...-tp28006887p28065193.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> 
>  
> 

-- 
View this message in context: 
http://old.nabble.com/Required-Border...-tp28006887p28065365.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to