[ic] Paypal Module - need one to work
Norm Dressler
norm at dressler.ca
Mon Nov 12 06:38:11 EST 2007
On Sun, 2007-11-11 at 20:28 +0000, Lyn St George wrote:
> On Sun, 11 Nov 2007 11:06:27 -0500, Norm Dressler wrote:
>
> I've just caught up with this.
>
>
> >> > There were errors in your last submission:
> >> >
> >> >
> >> > (Payment process): There was an error accepting payment:
> >> > Real-time charge failed. Reason:
> >> >
> >> > Please correct the areas listed above which are highlighted in this
> >> > color in the form.
> >> >
> >> > The log file shows:
> >> > 192.168.15.177 fjAIQwjH:192.168.15.177 - [10/November/2007:13:42:05
> >> > -0500] jnd /cgi-bin/jnd/ord/finalize.html ERRORS on ORDER TEST0016:
> >> >> Error during creation of order routing log:
> >> >> Route log failed. at /usr/local/interchange/lib/Vend/Order.pm line
> >> > 1841.
> >> >
> >> > And i'm not sure what the problem is now. Any help would be
> >> > appreciated.
>
> Most likely it's not logging the returned values correctly - check the MySQL
> log. If no errors, perhaps you are trying to log a NULL value in a column
> declared NOT NULL. The columns you asked about previously can be
> varchar(255), or 128 which is the Interchange default.
>
> As for making buttons or links; the IC demo is full of examples to use.
>
> >Searched and read the above but it really didn't help with my problem.
> >
> >I've moved a bit further but I'm wondering if I'm misunderstanding how
> >the Paypalexpress module is suppose to work. Should it not load up a
> >paypal page to allow payment to be transferred, then return to my page?
> >Or is the module expecting the credit card number ,expiry date, etc sent
> >by us and the charge is done like other credit card gateways?
>
> To quote a shortened piece from the docs:
> "The flow is: the first button for Paypal goes to the 'paypalsetrequest' page, which sends a request
> to Paypal to initialise the transaction and gets a token back in return. If Paypal fails to send back
> a token, then the module refreshes that page with an error message suggesting that the customer should
> use your normal payment service provider and shows the cards that you accept. Once the token is read, then
> your customer is taken to Paypal to login and choose his payment method. Once that is done, he returns
> to us and hits the 'paypalgetrequest' page. This gets his full address as held by Paypal, bounces to the final
> 'paypalcheckout' page and populates the form with his address details. Then the customer clicks the final 'pay
> now' button and the transaction is done."
>
>
Thanks Lyn. I also downloaded the Paypal Express API document and it
indicates that it passes back the address information after the
transaction. So if this is the case, do I need to be asking for this
information before I send them down the road of Paypal Express?
The way I have it right now is in the finalize.html and
new_browser_payment stage, I have created a drop box option for Paypal
and when selected a new button comes up saying Pay with Paypal. That
button is linked to paypalsetrequest.html. Unfortunately I'm not
getting directed to Paypal from this click.
My route settings are:
Route paypalexpress returnurl
http://www.dressler.ca/cgi-bin/jnd/ord/paypalgetrequest.html
Route paypalexpress cancelurl http://www.dressler.ca/
Route paypalexpress host api-3t.paypal.com
Route paypalexpress currency USD|CAD
Route paypalexpress headerimg
https://www.dressler.ca/jnd/images/logo.png
I'm getting a routing log error in the error.log file.
My returnning url:
cat paypalgetrequest.html
[charge route="paypalexpress" pprequest="getrequest"]
[bounce ord/finalize]
Should this be returning to the finalize page?
I'm continuing to look at it to see if I can find the problem.
Thanks
Norm
More information about the interchange-users
mailing list