infield Posted January 22, 2004 Share Posted January 22, 2004 Hi, I am trying to get Payflow Pro working with osCommerce 2 MS2. I have installed PayflowPro_FIX-1.1 and gone through all the config steps. It shows up great in the backend, and it seems to configure fine. The ordering process works great, but I get a red "Credit Card Error!" with no details. I am trying to install on a FreeBSD VPS, I have installed and tested the Payflow SDK, and it looks like it's working fine. 1) Has any one successfully used Payflow Pro with MS2? 2) Did PayflowPro_FIX-1.1 require any changes? 3) How can I get more detailed error reports on the payflow transaction? This is my first attempt at using a payment processing so it is very possible that I am missing something stupid simple. Any tips or recommendation would be appreciated. Thanks, -marc Quote Link to comment Share on other sites More sharing options...
infield Posted January 22, 2004 Author Share Posted January 22, 2004 I have made some progress. I had the PayflowPro Executable point to the library (libpfpro.so) instead of (pfpro). It's still not working, but I am now getting an error message. Credit Card Error!! User authentication failed Quote Link to comment Share on other sites More sharing options...
infield Posted January 26, 2004 Author Share Posted January 26, 2004 Update.I got it running. I went to the command line and looked at the direct output form the pfpro command. Which gave me the same error "User authentication failed". Then after checking things out in the PayFlow manager it turns out I was given the wrong password. There are two passwords one for the payflow manager and one for payflow itself. After changing it, everything works fine with the test account. Quote Link to comment Share on other sites More sharing options...
lindec Posted January 28, 2004 Share Posted January 28, 2004 I also am trying to get Payflow Pro installed on MS2. But when I attempt to install the module from the modules page, i get a fatal error: Fatal error: Cannot redeclare class payflowpro in /home/woodbadg/public_html/shop/includes/modules/payment/payflowpro.php on line 12 Any ideas? Quote Link to comment Share on other sites More sharing options...
infield Posted January 28, 2004 Author Share Posted January 28, 2004 Are you using PayflowPro_FIX-1.1? Line 12 on my version of payflowpro.php is a comment. Quote Link to comment Share on other sites More sharing options...
lindec Posted January 28, 2004 Share Posted January 28, 2004 (edited) Nevermind, I found where to download it. I will see how it works. Edited January 28, 2004 by lindec Quote Link to comment Share on other sites More sharing options...
lindec Posted January 28, 2004 Share Posted January 28, 2004 I just installed FIX-1.1, and now I receive: Fatal error: Cannot redeclare class payflowpro in /home/woodbadg/public_html/shop/includes/modules/payment/payflowpro.php on line 20 Quote Link to comment Share on other sites More sharing options...
lindec Posted January 29, 2004 Share Posted January 29, 2004 UPDATE: I have tried the script on 2.2CVS and still I receive the same error. Judging from the source it is an error with declaring the class payflowpro. Any thoughts on why the class may already be declared? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2004 Share Posted February 6, 2004 Hi. Let's pick up this thread of PayFlow Pro (payflowpro) - verisign's payment gateway - integration contribution. Joe Olson wrote this contrib. I can't find any more support from him on this. I emailed Marc yesterday and we can use this thread to post support. Here is my email: I've followed the contrib readme. Except for defining PFPRO_CERT_PATH. Don't know how. Also, have moved the SDK files to my server freebsd home directory and the libpfpro.so to the /usr/lib dir. ./test.sh returns: ---------------------------------------------------- ***> Performing 'pfpro' binary test transaction..... You will need to change the USER, VENDOR, PARTNER and PASSWORD to your User, Vendor, Partner and Password as specified when you signed up with the Payflow Pro service. To change these values, edit the variables USER, VENDOR, PARTNER and PASSWORD in this file, test.sh. RESULT=0&PNREF=V63A48353540&RESPMSG=Approved&AUTHCODE=319PNI&IAVS=X Done with 'pfpro' binary test transaction... --------------------------------------------------- When testing the site cart checkout, I get... Fatal error: Call to undefined function: pfpro_init() in /Library/Apache2/htdocs/~domain.com/catalog/includes/modules/payment/payflowpro.php on line 169 which is attributed to: function before_process() { global $HTTP_POST_VARS,$order; //include(DIR_WS_FUNCTIONS . 'php_pfpro.php'); pfpro_init(); $transaction = array(USER => trim(MODULE_PAYMENT_PAYFLOWPRO_USER), VENDOR => trim(MODULE_PAYMENT_PAYFLOWPRO_VENDOR), PARTNER => trim(MODULE_PAYMENT_PAYFLOWPRO_PARTNER), PWD => trim(MODULE_PAYMENT_PAYFLOWPRO_PWD), TRXTYPE => trim(MODULE_PAYMENT_PAYFLOWPRO_TRXTYPE), TENDER => trim(MODULE_PAYMENT_PAYFLOWPRO_TENDER), AMT => $HTTP_POST_VARS['AMT'], ACCT => $HTTP_POST_VARS['cc_number'], EXPDATE => $HTTP_POST_VARS['cc_expires'], FREIGHTAMT => $HTTP_POST_VARS['FREIGHTAMT'], TAXAMT => $HTTP_POST_VARS['TAXAMT'], FIRSTNAME => $HTTP_POST_VARS['FIRSTNAME'], LASTNAME => $HTTP_POST_VARS['LASTNAME'], STREET => $HTTP_POST_VARS['STREET'], CITY => $HTTP_POST_VARS['CITY'], STATE => $HTTP_POST_VARS['STATE'], ZIP => $HTTP_POST_VARS['ZIP'], COUNTRY => $HTTP_POST_VARS['COUNTRY'], EMAIL => $HTTP_POST_VARS['EMAIL'], SHIPTOFIRSTNAME => $HTTP_POST_VARS['SHIPTOFIRSTNAME'], SHIPTOLASTNAME => $HTTP_POST_VARS['SHIPTOLASTNAME'], SHIPTOSTREET => $HTTP_POST_VARS['SHIPTOSTREET'], SHIPTOCITY => $HTTP_POST_VARS['SHIPTOCITY'], SHIPTOSTATE => $HTTP_POST_VARS['SHIPTOSTATE'], SHIPTOZIP => $HTTP_POST_VARS['SHIPTOZIP'], CSC => $HTTP_POST_VARS['CSC'] ); $response = pfpro_process($transaction); if (!$response||$response[RESULT]!=0) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR.' '.$response[RESPMSG]), 'SSL', true, false)); } } Has anyone edited this contrib to make it working or better documented? Is there a way to get a copy of these edits? Thanks for any support. BlueBalance Quote Link to comment Share on other sites More sharing options...
infield Posted February 6, 2004 Author Share Posted February 6, 2004 It looks like OSC can't find The function pfpro_init(). It's defined in php_pfpro.php which should be in /catalog/includes/functions/ Quote Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2004 Share Posted February 6, 2004 First, these are the available contributions. I have gateway "PayFlow Pro" from verisign. Which contributions to I need? Verisign Payflow Link w/ CSC validationCredit Modules 2.2-CVS 02/11/2003 Verisign PayFlow Pro w/CSC new checkout Credit Modules 2.2-CVS 02/10/2003 Verisign PayFlow Link w/CSC new checkout process Payment Modules 2.2-CVS 02/10/2003 Payflow Link Pro (with optional CSC) Payment Modules 2.2-CVS 06/19/2002 Verisign PayFlowLink Payment Modules 2.2-CVS 02/19/2002 Quote Link to comment Share on other sites More sharing options...
llamaGod Posted July 25, 2005 Share Posted July 25, 2005 has anyone figured this out yet? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2005 Share Posted July 25, 2005 has anyone figured this out yet? <{POST_SNAPBACK}> Yes, I'm using it. But it's been a while since I solved it. Might be available for support. Email me off board. Cheers, Cameron Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.