Modify PHP Script to Integrate with Paypal API
$30-250 USD
Paid on delivery
I have a Paypal php order script. It sends the payment info to Paypal.
Paypal then sends the order info to my [url removed, login to view] script
on my server which is my Paypal ipn listener.
[url removed, login to view] sends the order info to [url removed, login to view]
which triggers a commission in my affiliate script
Everything works except I must hard code the total
order amount of the sale into [url removed, login to view]
This is the part of the code I need modified:
#$cashflow = $amount; # replace amount with the variable contiaining the final purchase price
if($amount) { $cashflow = $amount; } else { $cashflow = '67.77'; }
$cashflow =~ s/[^0-9\.]//g;
I have to put the exact amount of the $cashflow (total amount of sale)
in order for the process to work. (in this case it is 67.77)
I need to put a variable in there that changes with the different
sales amounts. I will be having products with different prices.
If I just had a product with on price I would be fine but I need
to put a variable into
I need to know what variable to use to send the total payment
amount from [url removed, login to view] to [url removed, login to view] so I do not have to hard
code the exact amount into [url removed, login to view]
I can set up ftp log ins for you.
I need somebody familar with php and with paypal api.
Thank you
Project ID: #10345840
About the project
5 freelancers are bidding on average $178 for this job
Hi!,Are you currently in testing /sandbox mode or working on live. Let me know i can help you with my experience in paypal and other payment integrations.
Hello. I worked with paypal in the past and i work with it, that you need, i now how we can create it, we can send to paypay with details your info, for example id of thing and in response we can take this id and statu More
Hello, I read your job posting with my complete understanding. I would really appreciate if we could have a small chat session so we can discuss your project in more detail and can finalize it in quick time. More
Hello there, I can do your task at extremely shoddy rates inside your wanted due date. My work is ensured 100% unique, A++ quality work, plagiarize free, efficient and reliable. lot of hands on exp in php and paypal ap More