If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

Locked

Started by retail373 on 28 Jul 2006, 4:22 PM · Views: 3,743

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Jul 2006, 4:22 PM
#1
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

I've been poking through the FAQ, but I don't quite know what term to describe my two
questions falls under, so if (as it surely has) been asked before, please just point
me to the correct phrase.

  1. I installed zen-cart via fantastico.
    as far as I can tell, this install doesn't provide the gateway module for USAEPAY
    So I downloaded the .zip module which directed me to
    "Run the attached SQL file via phpMyAdmin"
    so from phpadmin I chose _zc1 and imported my a local version mysql.sql into the _zc1 (the local zen-cart database)
    This was the message:
    CREATE TABLE usaepay_api (
    id int( 11 ) unsigned NOT NULL AUTO_INCREMENT ,
    customer_id int( 11 ) NOT NULL default '0',
    order_id int( 11 ) NOT NULL default '0',
    result_code varchar( 50 ) NOT NULL default '0',
    auth_code varchar( 50 ) default NULL ,
    ref_num varchar( 100 ) default NULL ,
    batch varchar( 50 ) NOT NULL default '0',
    avs_result varchar( 50 ) NOT NULL default '0',
    cvv2_result varchar( 50 ) NOT NULL default '0',
    error varchar( 50 ) NOT NULL default '0',
    error_code varchar( 50 ) NOT NULL default '0',
    curl_error varchar( 50 ) NOT NULL default '0',
    acs_url varchar( 50 ) NOT NULL default '0',
    pareq varchar( 50 ) NOT NULL default '0',
    reason varchar( 50 ) NOT NULL default '0',
    UNIQUE KEY id ( id )
    ) TYPE = MYISAM AUTO_INCREMENT =1;

    and the installation of zen-cart doesn't show a new USAEPAY module.
    I don't like that the import procedure didn't use or know about all the .api files
    that were living within the .zip file.

  2. I'd like to have the situation where credit card information is never stored on this new website.
    what is this issue called, and does Zen-cart support such an arrangment ?

Thank you,

29 Jul 2006, 6:27 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

  1. To install a payment module, you need to do three things:
    a. Install (upload) the supplied PHP files
    b. Install (run via phpMyAdmin) the supplied SQL files, if any.
    c. Go to the admin area .... Admin->Modules->Payment.... select the new module, and click Install. Then configure the settings as directed.

  2. Zen Cart as a general rule does not store full credit card information. Some payment modules store portions of the information for the purpose of being able to do follow-up. It really depends on the payment module/gateway you're using.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Jul 2006, 1:31 PM
#3
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

Dr. Byte says:

DrByte:

a. Install (upload) the supplied PHP files
b. Install (run via phpMyAdmin) the supplied SQL files, if any.
.

I'm really stuck at step b.
I can upload usa_epay_payment_module_.zip and
expand it anywhere I want, but I don't see how phpadmin can be run
on a file that's already been uploaded- every screen menu I see for phpadmin
has a browser field for uploading a file.

Thank you,

30 Jul 2006, 2:44 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

Perhaps I should add a step 0 to the list:

  1. Unzip the file.

Then, when uploading the files that were in the zip, notice the folder structure that they were in ... and retain that folder structure when uploading .... because the Zen Cart folder structure should be similar.

Then, when running phpMyAdmin, you would run only the commands in the enclosed SQL file, if any.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Aug 2006, 7:57 PM
#5
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

The usaepay**.zip file had a few extra root directories, so I
made a new .zip file without the additional branches.

However, I couldn't prevent my windows based archive program from flattening the
"downbranch" structure that Dr. Byte correctly states would follow the
general zen-cart tree structure, So I marched through each directory
and manually uploaded all the files (not many).

At the end of this, all the php files seemed in the right place and I could configure
the new payment module from the admin window of zcart.

Could someone tell me how to do a test transaction ?

Thank you,

8 Aug 2006, 8:16 PM
#6
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

oops,
I forgot to mention running the mysql.sql file
via phpadmin.

This is still the part that I do not have faith in or understand.
It seems that this file is being parachuted down into a particular database,
without much context. I'm hoping I did it right, and my ignorance doesn't matter.

9 Aug 2006, 3:16 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

retail373:

oops,
I forgot to mention running the mysql.sql file
via phpadmin.

This is still the part that I do not have faith in or understand.
It seems that this file is being parachuted down into a particular database,
without much context. I'm hoping I did it right, and my ignorance doesn't matter.
If phpMyAdmin didn't give you any errors, then it was probably done right.
The only exception would be if all the rest of your tables used some sort of prefix in their naming and this one doesn't ... but that will become clear later when trying to use the module.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Aug 2006, 3:18 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

retail373:

Could someone tell me how to do a test transaction ?

The best way to do a test transaction is to .... do a transaction.

I don't know about usaepay as to whether it typically uses a test mode or not.

The ultimate test is a real transaction using a real credit card. So ... make a purchase using real credit card info. Once it's approved, go to your usaepay terminal page, find the menu option for dealing with the "current batch" of transactions, and void your transaction so that your credit card isn't actually charged (you usually have until end of day to do this).
If the transaction does "not" succeed, hopefully the module is built with enough intelligence as to tell you "why" it failed.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Aug 2006, 7:30 PM
#9
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

DrByte:

The best way to do a test transaction is to .... do a transaction.

Hello,
after the install steps, I went
. Admin->Modules->Payment.... selected the new module, and clicked Install.
and I (tried to) configure the settings as directed.

So I'm now stepping through a transaction on a foobar product, but the checkout procedure
stalls at the Select Payment option.
I click the Continue Checkout button,
and the same "step 1" page just refreshes as far as I can tell.

There are many options to zen-cart, so it's likely I haven't set something up,
but I'm hoping I can buy a vowel ..

Thanks,

9 Aug 2006, 8:54 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

I click the Continue Checkout button,
and the same "step 1" page just refreshesThat would suggest it's stalling at checkout-shipping.

Did you select a shipping method?
Do you have any shipping modules enabled? if not, enable something.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Aug 2006, 10:02 PM
#11
retail373 avatar

retail373

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

DrByte:

That would suggest it's stalling at checkout-shipping.

Did you select a shipping method?
Do you have any shipping modules enabled? if not, enable something.

As far as I can tell, I"ve enabled flat rate shipping,
via Modules/Shipping..


Flat Rate

Enable Flat Shipping
True

Shipping Cost
5.00

Tax Class
--none--

Tax Basis
Shipping

Shipping Zone
--none--

Sort Order
0

It gets here
"Step 1 of 3 - Delivery Information"
successfully,
but step 2 says select payment method
and clicking through "checkout" doesn't move the ball forward.

Thank you,

9 Aug 2006, 11:30 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

retail373:

but step 2 says select payment method
and clicking through "checkout" doesn't move the ball forward.how many options for payment are listed ? Can you provide a screen-shot ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Aug 2006, 11:49 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: two newbie questions: 1) installing usaepay gateway module , 2) stored CC info?

You're stuck on the shipping page. If you don't choose a shipping method, you cannot get to the screen to choose a payment method.

If you have no shipping options showing, then you can't choose anything, and you'll be stuck.

There are 4 common causes of not having any shipping options:

  1. None are activated
  2. Some are activated, but are tied to specific zones
  3. Selected products are "free shipping" but the free-shipping module isn't enabled
  4. The products in your cart are zero-weight and you have the cart set to treat zero-weight as free shipping ... but haven't activated the free shipping module.
  5. Admin->Configuration->My Store ... no zone set
  6. Admin->Configuration->Shipping/Packing->No country/postcode/zip set

Suggestions:

  • for the products you're trying to test with, set their weight to 1 lb or more.
  • enable more shipping options, including free-shipping, USPS, UPS, Table, etc.
  • check the settings in #5, 6 above.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.