Create PHP script for PayPal authorize and capture transactions

In Progress Posted 7 years ago Paid on delivery
In Progress Paid on delivery

I need a PHP script that processes payments using authorize and capture method with PayPal. We're creating a system where users can make appointments. The total cost of the appointment is known in advance of the appointment date. The system needs to authorize this amount up front. Once the appointment is complete, we need to capture the payment for the appointment.

Script should:

1) accept a payment amount and an appointment id then redirect to paypal where user can enter their payment information. For example: authorizePaymentForAppointment($amount, $apptId)

- if the authorization is successful, send the transaction information and appointment id back to the site by calling: saveTransactionForAppointment($transactionId, $authorizationId, $apptId)

- if the user cancels the transaction or fails authorization, send the appointment id back to the site by calling: cancelTransactionForAppointment($apptId)

2) accept request to capture the authorized amount. For example: capturePaymentForAppointment($apptId,$authorizationId,$amount)

- send the results of the request by calling updatePaymentForAppointment($apptId, $status)

3) accept request to void the authorization. For example: voidAuthorization($authorizationId)

Here is a link with information about the PayPal API.

[login to view URL]

PayPal API PHP Software Architecture

Project ID: #12216652

About the project

20 proposals Remote project Active 7 years ago

Awarded to:

syedmIbrahim

give a chance. i will start it. i can easily implement paypal on your website. Past Sample Work:  [login to view URL]  [login to view URL]  [login to view URL]  [login to view URL]  htt More

$55 USD in 1 day
(11 Reviews)
0.0

20 freelancers are bidding on average $169 for this job

rexzetsolutions

Hello, I need 48 hours to build and setup the script on your site and it will work in the same way as you described in the project, you can check my profile i am a php expert and i make such scripts lot of times in my More

$150 USD in 2 days
(259 Reviews)
7.0
androidc

Hi, I have built similar Appointment booking Custom PHP script with Paypal. I can show you. I have 7 year experience in website design and development. Thanks Regards Ashok

$100 USD in 3 days
(86 Reviews)
6.3
rambanstola

A proposal has not yet been provided

$250 USD in 0 days
(54 Reviews)
5.5
jiitendra

Hi, I have reviewed your requirement and I can do this job as per your requirement. I have a advanced skills in WORDPRESS ,PHP, MYSQL, PAYPAL API, JavaScript, HTML, Jquery, Magento, HTML 5 ,YII frame, PSD to HTML an More

$188 USD in 3 days
(29 Reviews)
5.2
rimaalliq

I have been in this industry for 2 years and such jobs are my daily practice. This is my first time on this site and hence you can see that I do not have any ratings/testimonials to show you. I can assure you that if y More

$111 USD in 2 days
(31 Reviews)
3.7
santosh019020

I have read your project description, I need some more clarification. We are a group of developer, so we are available almost all time. We are experienced in PHP, jQuery, angular and HTML 5. Our main specializatio More

$155 USD in 3 days
(7 Reviews)
3.0
oliviainfotech

Hi greetings of the day I am a Experienced PHP Developer based out in Chennai,India. My experience revolves around development of web and mobile applications,Ecommerce websites. I believe that I am well qualified to un More

$200 USD in 3 days
(49 Reviews)
0.5
Chipap

I work at PayPal India. I will be glad to help you get this done on time with proper integration for PHP. Lets Chat in Freelancer message and get this done asap

$200 USD in 4 days
(8 Reviews)
0.0