Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Suuport for Protx VSP Direct?


Guest

Recommended Posts

Yes :)

 

You will find the module in the contributions section.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

No thats the module for Protx from

 

The direct one you can find here

 

http://www.oscommerce.com/community/contributions,1163

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

I have installed the protx direct modules and updated the mysql database. Upon order confirmation I get this error:

 

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '800a01a8'', '', '\"Arial\" size=2>Object required

 

insert into payments_refunds (pr_order_id, pr_currency, pr_amount, pr_cardholder, pr_cardtype, pr_vsptxid, pr_status, pr_statusdetail, pr_txauthno, pr_vendortxcode, pr_security_key, pr_txType, pr_avscv2, pr_order_ip, pr_date) values ('', 'UKP', '63.90', 'Darren Pascoe', 'JCB', '"Arial" size=2>error '800a01a8'', '', '\"Arial\" size=2>Object required', '', '2-20040416050507', '/vpsdirectauth/paymentgateway.asp, line 11 ', 'PAYMENT', '', '81.133.225.208', now())

 

[TEP STOP]

 

I am testing on the protx test server

Link to comment
Share on other sites

I have looked at the module files. You may try changing the following line in modules/payment/cc.php:

 

tep_db_query("insert into payments_refunds (pr_order_id, pr_currency, pr_amount, pr_cardholder, pr_cardtype, pr_vsptxid, pr_status, pr_statusdetail, pr_txauthno, pr_vendortxcode, pr_security_key, pr_txType, pr_avscv2, pr_order_ip, pr_date) values ('" . $insert_id . "', '" . $_POST['Currency'] . "', '" . $_POST['Amount']. "', '" . $_POST['cc_owner'] . "', '" . $_POST['cc_type'] . "',  '" . $VPSTxID . "', '" . $Status . "', '" . addslashes($StatusDetail) . "', '" . $TxAuthNo . "', '" . $_POST['VendorTxCode'] . "', '" . $SecurityKey . "', '" . MODULE_PAYMENT_CC_PROTX_PAYMENT_TYPE . "', '" . $AVSCV2 . "', '" . $REMOTE_ADDR . "', now())");

     

 

with:

 

tep_db_query("insert into payments_refunds (pr_order_id, pr_currency, pr_amount, pr_cardholder, pr_cardtype, pr_vsptxid, pr_status, pr_statusdetail, pr_txauthno, pr_vendortxcode, pr_security_key, pr_txType, pr_avscv2, pr_order_ip, pr_date) values ('" . $insert_id . "', '" . $_POST['Currency'] . "', '" . $_POST['Amount']. "', '" . $_POST['cc_owner'] . "', '" . $_POST['cc_type'] . "',  '" . addslashes($VPSTxID) . "', '" . addslashes($Status) . "', '" . addslashes($StatusDetail) . "', '" . $TxAuthNo . "', '" . $_POST['VendorTxCode'] . "', '" . $SecurityKey . "', '" . MODULE_PAYMENT_CC_PROTX_PAYMENT_TYPE . "', '" . $AVSCV2 . "', '" . $REMOTE_ADDR . "', now())");

     

 

Imp: Make a backup of your files before modifications

Link to comment
Share on other sites

Thankyou very much for helping out. What you suggested eliminated the error message but throws me back to Payment Information screen as soon as I click on Confirm Order. Also doesn't send the order.

 

But at least that annoying error message has gone

Link to comment
Share on other sites

I have also noticed another error after I implemented all of the mods for the ProtX Direct Module. . . In my Admin screen, when I click on edit orders I get:

 

1054 - Unknown column 'cc_cv' in 'field list'

????????????????????????????????????????????????

Link to comment
Share on other sites

That last error affecting the admin of orders was to do with the orders.php file in the classes dir - probably my screw up - just uploaded the original file.

Link to comment
Share on other sites

do i need to uninstall either cheque/money order or Protx Direct for this to work???

 

They seem to be screwing around with each other - this is the error I get with cheque/money order:

 

1054 - Unknown column 'cc_start' in 'field list'

 

insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, cc_start, cc_cvv, cc_issue, date_purchased, orders_status, currency, currency_value) values ('2', 'Darren Pascoe', '', '16 Morgan Jones Park', '', 'Caerphilly', 'CF83 1BA', '', 'United Kingdom', '02920852822', '[email protected]', '1', 'Darren Pascoe', '', '16 Morgan Jones Park', '', 'Caerphilly', 'CF83 1BA', '', 'United Kingdom', '1', 'Darren Pascoe', '', '16 Morgan Jones Park', '', 'Caerphilly', 'CF83 1BA', '', 'United Kingdom', '1', 'Cheque/Money Order', '', '', 'XXXXXXXXXXXXXXXX', '', '', '', '', now(), '1', 'UKP', '1.00000000')

 

[TEP STOP]

 

I need them to both work in my store

Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks later...

I'm gonna use Protx VSP Direct with MS2. Protx have sent me an intergration kit that includes lots of php files, etc. i believe i need to customize to fit oscommerce.

 

IS THERE A PROTX VSP DIRECT CONTRIBUTION FOR MS2 THAT WORKS ERROR FREE!?

Did you try? Did you fail? No matter! Try again. Fail again! But fail better!

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...