homepage Welcome to WebmasterWorld Guest from 107.20.34.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Ecommerce
Forum Library, Charter, Moderators: buckworks

Ecommerce Forum

    
Integrate paypal in rental company
helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 7:34 pm on Nov 11, 2012 (gmt 0)

Hi,
I am going to integrate paypal to our website,
the easiest would be to use there system and buttons,
however as I can see its not possible, as I can only choose between 4 buttons, I want a button that says book now and not buy now, and also I need it in 3 diferent languages.
I do know programing however feel like going the shortest way at the moment.
There are the option of using software such as oscommerce etc. or integrating it by yourself.
Not sure what to choose as when I looked at similar softwares I think they are as complicated to understand as doing it myself.

I have a rental company and I dont use any kind of software.

As i ever used anything like paypal or to pay online, if somebody could advise me.

I will need to check with my database if the dates are available, calculate the price (this script I already have) then if available they would click on a button book now (3 diferent langueages), not add to chart as hardly nobody rent more than one, then Im not sure if the booking must be done in my database before they pay with paypal or after they paid. Would prefer after, however dont know how it works.

If somebody can recomend what to use, there buttons, software or integrating it bymyself, and how does it work together with my database as if they book I need to block it in my database immediately as not available anymore.
Thanks in advance,
Helen

 

jrockfl



 
Msg#: 4518091 posted 11:56 pm on Nov 11, 2012 (gmt 0)

I don't think you will be able to do all of that without some custom programming.

I would strongly recommend hiring a freelance programmer to complete that for you.

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 7:05 am on Nov 12, 2012 (gmt 0)

Thanks, However I am a programer, I done my own database for the web and owners intramet, however as I ever done this before, I would like some recomendations, or explanations on how it works to make myself an idea how my database can inbteract with Paypal.

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 9:47 am on Nov 12, 2012 (gmt 0)

Another thing, What is recomended, standard or express with api?. I have knowledges of html, css, php and mysql,
the only thing I done with api is integrate google maps.
As I need to calculate price for chosen dates, then do the booking and add the calculated price to paypal, and of course if there is problem with the payment, the booking need to be cancelated.
Any help is appreciated to choose the way to choose and to get started.

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 8:31 pm on Nov 12, 2012 (gmt 0)

Think Im getting closer, I found a tutorial (in spanish) and I created a testaccount and I understand that I need a dynamic button so I need to create a certificate.

However I dont know which is the program used to create it.... also its in java wich I understand 0.

Anybody have a good link how to create a dynamic button, suppose in Java, but to integrate with my database mysql with PHP.

I can always do a button without price and let the client fill the price in, but that I dont like at all.

Any help please

[edited by: lorax at 10:33 pm (utc) on Nov 12, 2012]
[edit reason] removed link [/edit]

dpd1

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4518091 posted 2:05 am on Nov 13, 2012 (gmt 0)

Well, the button thing is easy. You just serve your own buttons. But all the other stuff seems like it would be pretty difficult. Is it a large business? Maybe it would just be a lot easier to have them email you, then you just send them an invoice. I run into the same issues. I have an infinite amount of customizing in products, and also ship around the world, and the items are extremely varied in size. Way too many variables. I finally just gave up and ask people to contact me for anything other than the basic order, and I just send them a request for the total.

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 9:48 am on Nov 13, 2012 (gmt 0)

Well its complicated but I already have a calculator script done and is used on the web, I only have to pass the result to the button, I also have the booking script done, only that at the moment I add the bookings to the database, and that should be automatic.

The only reason to use Paypal is to have it instantely, we already charge with credicard however forms need to be filled in.
I think I installed open SSL for windows to do the certificate to have a dynamiac button, but not sure its correct as I dont see how to open the program.
So at the moment Im stuck with the button, think thats all I need from paypal.

The business is not large, my idea was not to need the user to registrate before renting, just fill in a form that should be sent to both me and client as confirmation and pay with paypal, so I only need to pass 1 php var to the button which is the calculated price for the staying.

Thanks

[edited by: helenp at 11:02 am (utc) on Nov 13, 2012]

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 10:45 am on Nov 13, 2012 (gmt 0)

I found this recomendations to do the button with paypal, I wonder if it will work and instead of the price I just put the php var that gives the price:

"If you pull the number of premises using php, what I recommend is this. Please log-in to generate the button, enter an amount, may be by 1.00, in step two, remove the check where it says "save to PayPal". After you finish filling out the form to generate the code. In the page show you the code, click where it says "remove code protection". You will see that the code is generated and you will see the variable "amount" with the value. There you can modify the value to hold the amount of your local."

jrockfl



 
Msg#: 4518091 posted 11:12 pm on Nov 13, 2012 (gmt 0)

For our e-commerce web site, when a user selects PayPal at checkout, I create a url that has special query string parameters and then the user is redirected to the PayPal web site.

Once they successfully complete the transaction, I use IPN (Instant Payment Notification) that processes a http post from PayPal.

This is how I know the user has successfully paid. The user is then redirected back to the e-commerce web site and a receipt is displayed.

Does that help?

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 9:10 am on Nov 14, 2012 (gmt 0)

Thanks, that helps, I suppose there must be a similar way to cancel what they bought if the payment didnīt go through.
Also the problem is the button, I think the way I posted above maybe will work as I found it in paypals developers forum.
As I need to add the price dynamically.
I will have to do test with the sandbox.
Not sure if I should but I have activated automatic return and also I activated PDT.
The IPN I will have to add to my site I understand, what a mess lol.

I suppose if the person arenīt suppose to register I will need a good catcha that works perfect not to do robots do bookings in the database.
Anybody know a good catcha or similar to know its a real person?
I dont use as I dont like them, but here I have no choise.
Thanks

jrockfl



 
Msg#: 4518091 posted 2:47 pm on Nov 14, 2012 (gmt 0)

When a customer submits the order, it has a "Gateway Successful" flag.

If the payment goes through successfully, the IPN notifies a page on the web site that sets the flag to true.

Yes, the sandbox is good place to setup test accounts to test the entire transaction process.

Yes, you have to turn on IPN.

helenp

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4518091 posted 5:12 pm on Nov 14, 2012 (gmt 0)

Thanks I will do tests,

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Ecommerce
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved