Forums / General Questions / how to create a simple submission form to collect CC data from ebay buyers?

how to create a simple submission form to collect CC data from ebay buyers?

Locked

Started by toothpick on 2 Sep 2007, 8:50 PM · Views: 2,731

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
2 Sep 2007, 8:50 PM
#1
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

how to create a simple submission form to collect CC data from ebay buyers?

I would like to add a secure page to my zencart store that my ebay buyers can use to submit their credit card info and ebay item number to the zen database so we can manually process them using our terminal. I know this should be super simple with PHP but I am not quite sure how to go about it. I tried using a PHP script example I found in EZ-Pages but I think PHP doesnt work in EZ-Pages? TIA for any suggestions.

2 Sep 2007, 9:07 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: how to create a simple submission form to collect CC data from ebay buyers?

buyers can use to submit their credit card info and ebay item number to the zen database so we can manually process them using our terminal.
You must/should be careful about this as maintaining the full CC# anywhere is against the PCI rules and while they target the larger concerns if you are found to have the full CC# stored anywhere I suspect that your SSL Certificate insurance is null and void also.

Zen-Venom Get Bitten

2 Sep 2007, 10:19 PM
#3
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

Re: how to create a simple submission form to collect CC data from ebay buyers?

I understand the rules. I do not plan on keeping the CC info in the database. We will delete the numbers daily. I would like to have the form work the way the CC module works. Store the first and last sections of the number in the DB and email the middle part to us. However for now I am in a big hurry and just need a simple form operating ASAP.

Anyone have an example form script that will do this? Is there an contribution that adds a db entry form page that I could just customize prehaps?

2 Sep 2007, 10:31 PM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: how to create a simple submission form to collect CC data from ebay buyers?

Not sure if I'm understanding your requirements, but why not set up a product page with a text attribute for the ebay number to be inserted then have the client use the cc module (better still, use Ceons Manual CC module)... you could set up an account with dummy info and give the client username/password...I'm not that familiar with ebay...can you get all info you require from just the ebay number?

Just thinking aloud - I may be way off the mark.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

2 Sep 2007, 10:40 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: how to create a simple submission form to collect CC data from ebay buyers?

Set up a new product using document general product type,
make the product a 1 cent item

change the add to cart to winning bid ( no decimal )

and use a single line text attribute for them to put the item number into

the client can now add this to cart and check out like a normal customer and you chave ALL the records needed

Zen cart PCI compliant Hosting

2 Sep 2007, 11:43 PM
#6
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

Re: how to create a simple submission form to collect CC data from ebay buyers?

I make a lot of sales every day on eBay. It will take way to much time to create a custom product for every sale then explain to the buyer how to create an account and checkout all just to get his CC info. Thats overkill. All I need is a simple page (like an EZ-Page) that has just a form asking for CC number, address and eBay item number. No totals needed, no CC verification, just a simple input form that saves the values to the database when submitted.

Then I can just include a link to the page in our eBay checkout instructions and tell buyers to go there for sending their credit card info. That way it will store on our recure server instead of them sending it through email which is what many do now.

3 Sep 2007, 2:51 AM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: how to create a simple submission form to collect CC data from ebay buyers?

you dont create 1 for each sale

you create 1 product

the enter the amount of th ewinning bid in the add to cart spot

if the winning bid is $12.92 then they would enter 1292 in the add to cart box

see howe this works now

this gives you a single link to send to ebay winners,

they go to link
type in acution number

type in price

host go and checkout

voila they get a pro checkout you get the orders,

Zen cart PCI compliant Hosting

3 Sep 2007, 6:19 AM
#8
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

Re: how to create a simple submission form to collect CC data from ebay buyers?

I see what you are saying now Merlin. I should have read your first post closer. That is a very good idea and I really like the way that works. Except it is weird having to explain to buyers to add 1600 of the items to the cart if the order total was $16.00. I expect much confusion with that. Is there any way I could perfect this method and have the product page where they enter the price in a field and add just one to the cart? Or perhaps I could tweak the Add To Cart function to work differently for just this one product? Any ideas?

3 Sep 2007, 7:08 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: how to create a simple submission form to collect CC data from ebay buyers?

Set the price to 1.00 instead of 0.01
Then they can enter the actual amount in dollars and cents.

You'll have to set the allowed decimals to 2 in Admin->Config->Stock->Product Qty Decimals.

.
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.

3 Sep 2007, 12:39 PM
#10
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: how to create a simple submission form to collect CC data from ebay buyers?

what about the auctions that dont end on the whole dollar amount?
wouldnt it be better to just strip the decimal out of the box before passing it to the cart, since this is using a totally differrent product type?

Zen cart PCI compliant Hosting

3 Sep 2007, 3:08 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: how to create a simple submission form to collect CC data from ebay buyers?

DrByte:

Set the price to 1.00 instead of 0.01
Then they can enter the actual amount in dollars and cents.

You'll have to set the allowed decimals to 2 in Admin->Config->Stock->Product Qty Decimals.

Merlinpa1969:

what about the auctions that dont end on the whole dollar amount?

Setting the switch on Product Quantity Decimals takes care of that.

.
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.

3 Sep 2007, 3:18 PM
#12
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: how to create a simple submission form to collect CC data from ebay buyers?

you told em to make their product $1.00 for ebay auctions,
this DOSNT work if the auction price is not a whole dollar amount,

so the way I asked if it would work is simply this

on the product type being used for ebay checkout,
make it so that a user can type in 16.20 for $16.20 but the . is stripped out and is read by the cart as 1620 so that it adds 1620 $0.01 items to the cart and still tracks throughth esystem as $16.20

Zen cart PCI compliant Hosting

3 Sep 2007, 7:37 PM
#13
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

Re: how to create a simple submission form to collect CC data from ebay buyers?

DrByte:

Set the price to 1.00 instead of 0.01
Then they can enter the actual amount in dollars and cents.

You'll have to set the allowed decimals to 2 in Admin->Config->Stock->Product Qty Decimals.

Sounds like a great idea, if I could get it to work. I set it to allow 2 decimals and it lets me add 12.54 to the cart. In the shopping cart it shows the qty as 13 and the total as $13.00 but the sub-total correctly shows $12.54. However I cannot checkout because it is showing this error on the top of the shopping cart:

Please update your order ...
Product Name: Spantech eBay Checkout System ... Quantity Units errors -
You ordered a total of: 12.54

Any ideas? Also is there any way to modify the Add To Cart box to say "Enter Total Price" instead on just this one item? Also is there any way to prevent the product from displaying while browsing? I want it to only be accessable for those who have the direct link.

Thanks for all your suggestions. I feel I am now very close to having a professional checkout system for my eBay customers. And it allows google checkout and buyers can even add items from the Zencart store to their eBay order with ease. This is going to be invaluble for any eBay seller! Seems like it just needs a little bit of tweaking to be perfect! Perhaps there is a way I could develop a contribution that will change this items Add To Cart function and perhaps the shopping cart function a little bit to not confuse buyers? I will look into that but I am very new to Zencart so any help you guys can offer is great!

3 Sep 2007, 10:16 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: how to create a simple submission form to collect CC data from ebay buyers?

You should probably also edit the product in the admin and set its "Product Qty Units" to 0.01 so that it doesn't round up to the nearest dollar.

.
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.

3 Sep 2007, 10:43 PM
#15
toothpick avatar

toothpick

New Zenner

Join Date:
Sep 2007
Posts:
16
Plugin Contributions:
0

Re: how to create a simple submission form to collect CC data from ebay buyers?

DrByte:

You should probably also edit the product in the admin and set its "Product Qty Units" to 0.01 so that it doesn't round up to the nearest dollar.

Ok that seems to work well. It functions correctly in Zencart . But Google Checkout does not like the weird quantities. It returns an error saying our shopping cart is bad. Any ideas on that one? That could be one advantage of using Merlinpa's method. Ill bet GC is not going to allow that decimal. Perhaps I could modify the GC module to have it remove the decimal.