[ic] PayFlow Pro GlobalSub and map_actual() error

interchange-users@lists.akopia.com interchange-users@lists.akopia.com
Tue Jul 24 15:54:00 2001


OK - more questions then - I'm determined :)

When you say it doesn't recognize it - do you mean that you can restart
fine, but when you buy something you are not getting the signio sub to
respond?

Have you set the DebugFile in interchange.cfg?

Have you added signio in the profiles.order file?

OK - Here, I just pasted in what I had as steps at the top of my revised
signio sub.  Let me know if this helps - or if you need more direction,
whatever.

 1. Modify interchange.cfg to use this file.

 #include globalsub/signio (your path to this signio file)
        (with interchange 4.7 and above may be with (ConfigParseComments
Yes)
        or without # sign in front (ConfigParseComments No))
 2. Make sure all your variables are set up - some in the signio file some
in interchange.cfg or catalog.cfg

 3. Set CreditCardAuto is off (default) in the catalog.cfg file
        If not there add:
 CreditCardAuto no

 4. set subroutine in CATROOT/etc/profiles.order
        replace &charge=[var MV_PAYMENT_MODE][cgi mv_payment_test]
    with
        &charge=signio

 6. Restart Interchange.

 7. Strongly suggest to use the logDebug function to help with testing.
In interchange.cfg set Variable DEBUG to 1 then
        set DebugFile to where you want the output to go.  Default is
/tmp/icdebug. Then uncomment the needed logDebugs in the signio file.



On Tue, 24 Jul 2001, Donald Lin wrote:

> Hello. I am using IC 4.6 and tried your suggesstion below. However, It still
> doesn't seem to be recognizing the signio file.
> I have added #include /home/user/tomchin/interchange/signio
> Interchange is installed under a user, and the signio file is in the
> interchange directory.
> Is this what you mean?
> What I have done to test this is added the @_SIGNIO_HELP_@ in one of my html
> files, and nothing shows up.
> This is why I believe IC is not recognizing this file. There are also no
> errors in the error logs.
> 
> Can you or anyone else help?
> Don
> 
> ----- Original Message -----
> From: <wilant@grue.eppg.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Tuesday, July 24, 2001 11:48 AM
> Subject: Re: [ic] PayFlow Pro GlobalSub and map_actual() error
> 
> 
> > Donald,
> > Which version of IC and PayflowPro are you using?
> > Second, if it's 4.6 you need to have the # signio.  In fact, for
> > me to get it to work, I put in the full path to the file, and not just the
> > relative path like most of the examples show.  As an example, this is how
> > I have mine set up:
> > #include /usr/local/interchange-4.6/eg/globalsub/signio - in the
> > interchange.cfg file
> > I also depend heavily on the debug file. DebugFile /tmp/icdebug.
> >
> > I don't know if you saw my message regarding my modified signio sub
> > yesterday, but I have some more details in there.  If you need more
> > direction just yell. (email me directly if you'd like -
> > michelle@wilant.com)
> >
> > Thanks
> >
> >
> > On Tue, 17 Jul 2001, Donald Lin wrote:
> >
> > > Hi All. I am trying to incorporate PayFlow Pro into Interchange. I am
> > > running into a couple of errors though. I did as the instructions said.
> I
> > > tried to include the signio file using
> > > #include signio
> > > (I put the file signio in the Interchange directory)
> > > Problem #1 - This does not seem to do anything... I tried take the "#"
> out,
> > > put that causes IC to not even start up (error was something like
> "include
> > > is not a directive")
> > >
> > > To solve this problem, I just cut and paste the global sub part of the
> file
> > > into interchange.cfg. This allows the globalsub signio to be called.
> > > However, I was still getting errors. In the error.log file I got a "
> Safe:
> > > Unable to create sub named "*MVSAFE::signio" at (eval 504) line 2."
> error.
> > > Problem #2 - This MVSAFE error is posted on the mailing list A LOT...
> but
> > > there doesn't seem to be many fixes for it. And the fixes that are
> suggested
> > > on the mailing list do not solve my problem
> > >
> > > I solved this problem by changing it into a usertag (like one person
> > > suggested from the mailing list)
> > > Can I do this for this particular signio global sub?
> > > Well I did, and I get yet another error. In error.log I get "Undefined
> > > subroutine &Vend::Order::map_actual called at (eval 90) line 6."
> > > This map_actual is part of the signio code, and I don't know what to do
> or
> > > how to solve this error!?!?!
> > >
> > > I know this is a lot, but I wanted to make it detailed enough so maybe
> > > somebody could spot an error and help me. I would appreciate any help
> > > whatsoever. If you have any suggestions to any of the previous errors or
> how
> > > to approach it a different way, please respond. My goal is just to get
> > > PayFlow Pro working, any means possible. Thanks!
> > >
> > > Donald
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>