[ic] Paypalexpress.pm

mike macfarlyn mmacfarlyn at gmail.com
Mon Feb 1 18:41:53 UTC 2010


Hello list,
I am trying to set up interchange using the paypalexpress.pm module as the
only payment method. I followed the RTFM to the point but when i came to the

paypalsetrequest.html, paypalgetrequest.html and the paypalcheckout.html
pages
i got a little confused.

If i have this correct:

when the customer wants to check out they click a  checkout link to the page

paypalsetrequest.html which requests a token to paypal.

paypal returns a token and the customer is sent to login at paypal and
choose
a payment method.

once that is complete the customer is sent back to the interchange cart
pagepaypalgetrequest.html to collect the customer information.

then is the redirect from pagepaypalgetrequest to paypalcheckout.html
automatic or do they click a button/link to forward them to the
paypalcheckout.html page?

does anyone have any html examples of these three pages to help clear things

up? i am a bit confused.

1) does the paypalgetrequest.html page only contain:
[charge route="paypalexpress" pprequest="getrequest"]
[bounce href="[area href=ord/paypalcheckout secure=1]"]
and nothing else?

2)does this look correct for the paypalcheckout page:
<form action="[area process]" method="get">
  <input type='hidden' name='mv_order_profile' value="paypalexpress">
  <input type='hidden' name='pprequest' value="dorequest">
   <input type='hidden' name='mv_todo' value="submit">
  <input type='submit' value="Order button">
</form>
??

3) does anyone have an example of how to tie this:

[value name="pprequest" set="" hide=1]
[charge route="paypalexpress" pprequest="setrequest"]

[if scratch token]
    [bounce href="https://www.paypal.com/cgi-bin/webscr?cmd=_express-
checkout&token=[scratch token]"]
[else]
    [bounce href="[area href=ord/checkout secure=1]"]
[/else]
[/if]

into the paypalsetrequest.html page link or button?

thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20100201/54433cdc/attachment.htm>


More information about the interchange-users mailing list