one button, two forms submissions was Re: [ic] Submit [total-cost]

Nathan Young interchange-users@lists.akopia.com
Fri Jul 6 12:05:02 2001


Garry wrote:

> Is it possible to get the submit button or the paypal button to (a)
> submit the order details to interchange (but not the credit card
> stuff) and (b) send the customer (with the [total-cost noformat=1], )
> to paypal all in one go - IE one button, one press?

You have to submit the info to interchange and have the responding page
redirect to paypall.

--------------->Nathan

> Garry
> 
> ----- Original Message -----
> From: "Jason Kohles" <jkohles@redhat.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Friday, July 06, 2001 2:25 PM
> Subject: Re: [ic] Submit [total-cost]
> 
> > On Fri, Jul 06, 2001 at 02:22:40PM +0100, Garry wrote:
> > > No, I want to be able to submit the value of [total-cost],  (whatever
> that
> > > may be after the potential purchaser has finished shopping.
> > >
> > > The lines I tried to use was: (on the checkout page at the very bottom)
> > >
> > > <form action="https://www.paypal.com/cgi-bin/webscr" methd="post">
> > > <input type="hidden" name="amount" value="[total-cost]">
> > > <input type="image"
> src="http://images.paypal.com/images/x-click-but6.gif"
> > > border="0" name="submit">
> > > </form>
> > >
> > You need to use [total-cost noformat=1], paypal doesnt like the commas and
> > dollar signs.
> >
> > --
> > Red Hat E-Business Solutions                    Jason Kohles
> > 11480 Sunset Hills Road                         Senior System Architect
> > Reston, VA 20190                                jkohles@redhat.com
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

-- 




=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Nathan Young
N. C. Young Design
(707)822-1793
http://ncyoung.com