Это видео недоступно.
Сожалеем об этом.

PayPal Payments Integration Tutorial Using PHP & IPN & PHPMailer

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2017
  • Easily Integrate PayPal Payments To Your Website WIth PHP & IPN.
    👉 GRAB MY COURSE 👈
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Do you want to become a web developer from scratch?
    I have spent 4 months creating the BEST course that exists about web development and in this course I am teaching everything that you need to know to become a web developer from scratch.
    Learn more: bit.ly/devAccel...
    It's helped hundreds of students, it can help you too.
    👉 ABOUT VIDEO 👈
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    It is PHP Tutorial For Beginners.
    In this tutorial, you will learn how to:
    - design pricing page using Bootstrap
    - add PayPal Buy Now button to your website
    - accept PayPal Payments
    - how to test & verify PayPal IPN (Instant Payment Notification)
    - how to send purchase details to the customer email using PHPMailer
    𝗗𝗼𝘄𝗻𝗹𝗼𝗮𝗱 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲: codingpassivein...
    👉 LETS CONNECT 👈
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Subscribe: bit.ly/1VdATVr
    Blog: CodingPassiveIn...
    Resources: CodingPassiveIn...
    Facebook Community: on. 1nMGVC4
    Facebook Fan Page: / codingpassiveincome
    Twitter: / senaidbacinovic
    Music: www.bensound.co...

Комментарии • 353

  • @SenaidBacinovic
    @SenaidBacinovic  5 лет назад +6

    Do you want to become a web developer from scratch??? Check this: bit.ly/devAccelerator

    • @soukainasouka641
      @soukainasouka641 5 лет назад

      hello ,how to make a subscription
      in paypal using php

    • @BeautySeven
      @BeautySeven 4 года назад

      Can you help me please. I am willing to pay 1000 dollars a similar job. If you are living in West Palm Beach, or you have a reference.. please help me. Thank you.

  • @techbydani9624
    @techbydani9624 5 лет назад +9

    THIS IS EXACTLY WHAT I WAS LOOKING FOR!!! YOU HAVE JUST EARNED A NEW SUBSCRIBER, GOD BLESS YOU!

  • @xeroks646
    @xeroks646 6 лет назад +2

    You are Amazing, I was making a project and I was worrying about the paypal payment system but you saved my ass. Thanks a lot you got +1 subscriber

  • @aalh0201
    @aalh0201 3 года назад

    As soon as I saw your face in the thumbnail I knew all my questions would be answered. Thank you for another great video.

  • @tomasrezende6416
    @tomasrezende6416 6 лет назад +2

    Great video! I was having a lot of problems with paypal IPN especially because every video about the topic don't explain everything. By watching this video I was finally able to make my IPN work. Thank you!

  • @applianceassistant
    @applianceassistant 6 лет назад

    I've been working on a subscription-based website for more than a year and was very intimidated by this portion of the project... Still working on getting this thing up and running but your video has been a big help! Thank you!

  • @austinallen3110
    @austinallen3110 6 лет назад +2

    Omg this music is so good, I loved being able to listen to it on loop for 42 minutes.

    • @SenaidBacinovic
      @SenaidBacinovic  6 лет назад

      I know it can be way better. Do you have any suggestion? :)

    • @austinallen3110
      @austinallen3110 6 лет назад +1

      I'm just being an arse, it's not so loud that it's a distraction

    • @SenaidBacinovic
      @SenaidBacinovic  6 лет назад

      haha, ok! :)

  • @tbdkll4218
    @tbdkll4218 5 лет назад +1

    For people who are having trouble with the test.txt file, first create the file in the server and set read/write permissions by all.

  • @valueniche
    @valueniche 3 года назад +1

    Great tutorial on IPN setup. Thanks.

  • @jordh2051
    @jordh2051 5 лет назад +2

    ¡Awesome!, you won a new suscriber, i have never ever comment a video, this is my first comment :)

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      Damn, thank you so much!

    • @jordh2051
      @jordh2051 5 лет назад

      @@SenaidBacinovic your welcome!... but i have a question... If i have the products in a database?, its good to change in form of button the price? with and echo of the price..?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      @@jordh2051 Yes, but make sure that inside listener you verify that price is correct.

  • @MrPherez
    @MrPherez 5 лет назад +1

    Best tuitorial on youtube, consider being a teacher alot of programmes can learn easily from you.

  • @ziguatv9190
    @ziguatv9190 5 лет назад +2

    Thanks much sir, your tutorials has taken me to another level in web based apps developments!!!

  • @rohansaand2023
    @rohansaand2023 6 лет назад +1

    I had also been waiting for this video
    great job bro!

  • @justinwang7582
    @justinwang7582 2 года назад

    awesome tutorial. exactly what i need. ty

  • @TheD2D21
    @TheD2D21 5 лет назад +3

    Key times in video:
    HTML/CSS framework and page 0:00
    PayPal Button (Find and Create): 10:02
    PayPal Button Take Notice! of these details 11:43
    PayPal Button Configure IPN Listener Test! (simulator) 14:50
    Code the listener File START 18:39 - 25:18 END (That VERIFIED resonse is the beginning of your payment handler or what you want to do with it)
    Do something once VERIFIED like Get the HTML variable list possible in POST 27:51
    Some troubleshooting recommendations and techniques 33:14-34:53 END of practicality.
    Rest of the video is how to do something with a VERIFIED response and that is sending an e-mail to a customer or payer.
    Enjoy!

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад +1

      WOW!! Thank you so much for writing this outline!

  • @axelmaximilianochavez6113
    @axelmaximilianochavez6113 6 лет назад +2

    Awesome your tutorial ... I really like how you work , just I have a question how can I make the botton with different price, I meand different products so different number to send to paypal for to pay... Thank you so much.

  • @ceo.ordevs
    @ceo.ordevs 5 лет назад +1

    Nice video. I have implemented paypal payment gateway learned from here.

  • @AmjustJos
    @AmjustJos 6 лет назад +1

    Great tutorial Senaid!! I was first bit confused, but after watching it back on the parts, what confused me. It made sense for me :D

    • @SenaidBacinovic
      @SenaidBacinovic  6 лет назад

      Jos Den Hertog Amazing, glad I could help. :)

    • @AmjustJos
      @AmjustJos 6 лет назад

      Ohh btw, you need to upgrade your paypal account, to business paypal account for this.

    • @pianoLee-sx9dx
      @pianoLee-sx9dx 6 лет назад

      Hi1.... Did you manage to get this working?

  • @gustocoder8900
    @gustocoder8900 4 года назад

    Good video, thanks. I have subscribed.

  • @JohnOkelloh
    @JohnOkelloh 5 лет назад +1

    Great tutorial sir

  • @aaronrs2002
    @aaronrs2002 6 лет назад +2

    For the last couple months it looks as if everyone has gotten "INVALID", regardless that the sandbox saying: "IPN was sent and the handshake was verified". This issue is all over different forums. Is there another way to get this done?

  • @linuxmq3945
    @linuxmq3945 5 лет назад +1

    Hi Bego, I really enjoyed your tutorial. Very clear and you go through each step, which is great for me. I noticed that you put condition if $paymentStatus == "Confirmed". Isn't the value you are looking for to be "Completed"? It is how it comes in the text.txt output. Thank you.

    • @linuxmq3945
      @linuxmq3945 5 лет назад

      Hi, I found that you got the mistake further in the process. I had also issue with naming. from PayPal it had mc_gross_1 instead of mc_gross!

  • @navirosas5968
    @navirosas5968 5 лет назад +1

    Great Jobe Man, you are awesome 🤟🏼

  • @jegar1332
    @jegar1332 5 лет назад +1

    Thank you for the detailed explanation of papal integration

  • @omerdoron1110
    @omerdoron1110 6 лет назад +1

    Just what I was looking for. thanks!

  • @adubivictor823
    @adubivictor823 6 лет назад +1

    Senaid, you are such a greate Tutor! i love your job, Please ride on master.

  • @leevihalme4300
    @leevihalme4300 6 лет назад +3

    Hi, your tutorial is good and very well explained, but there is one thing:
    1) When the payment_date variable has + symbol for example it would be: Fri Aug 19 2016 09:25:00 GMT+0100 (GMT Daylight Time) IT WILL NOT WORK. The response is always invalid. (Because of the + symbol)
    2) When there's äöå or any special characters in the name or in the email address variable IT WILL NOT WORK. The response is always invalid.
    I would like an update video on how you can avoid these errors :)

    • @ismhdez
      @ismhdez 6 лет назад +2

      please I really need it....

    • @RobertoPorpora
      @RobertoPorpora 5 лет назад

      is 1) a bug of the sandbox IPN? or there is something wrong in the curl data transfer?
      I managed to do a successfully verified IPN simulation by leaving blank the payment date, but will it work outside of the sandbox?

  • @classicandsacrum8659
    @classicandsacrum8659 5 лет назад +1

    Thank you very much!! It's working!

  • @kyrtech3662
    @kyrtech3662 5 лет назад +1

    Hi! This is a great tutorial for me. I just want to ask if this API services has a 3-D secure? Can I use this without 3-D secure? Secondly, is this API safe from scams and frauds? Hopefully you will answer my question. Thank you!

  • @sanabintidrees1266
    @sanabintidrees1266 6 лет назад +2

    Best Tutorial ..great work..

  • @user-ik3wy1kk2b
    @user-ik3wy1kk2b 6 лет назад +1

    Amazing tuto. Thanks a lot!

  • @randomtip8386
    @randomtip8386 3 года назад +1

    TYUYY S MUCHH!!!

  • @haksenguz
    @haksenguz 2 года назад +1

    Thank you for making a great tutorial! I have a question. If I have more than 1000 items, do I have to make buttons for each item? Or there is another way to do so? Thank you for your answer!

    • @SenaidBacinovic
      @SenaidBacinovic  2 года назад +1

      In your case, most likely the best solution would be to build some sort of shopping-cart system.

    • @hasanjuraev9800
      @hasanjuraev9800 2 года назад +1

      @@SenaidBacinovic thank you

  • @shahzaib_717
    @shahzaib_717 5 лет назад

    I have one question in this video we create one button for one product and set the price on paypal according to product but in live website where thousands of products how to handle that scenario is we have to create button for each product?

  • @daxcor
    @daxcor 4 года назад

    What is the difference between webhooks and IPN? the IPN is so much simpler to use. Why when you created the button, you didn't have to use your client_id token? When you use the bottons that you have created, are the standard webhooks also sent if they are configured to do so? Can you have both IPN and webhooks happen at the same time?

  • @codevikings4269
    @codevikings4269 3 года назад

    why does my file_puts - statement doesn work after all the curl statements but before that it does... any idea what could be wrong?

  • @TheBlackNight971
    @TheBlackNight971 5 лет назад

    *QUESTION*
    What if i want send with POST method some variables to listener?
    Example in dates.php you chose 2 dates. After send to listener and put, with query, dates in database.

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 5 лет назад

    Hey guys! I would appreciate if someone could reply to my question here but I tried to use the header or meta redirect tag and both can't seem to redirect the user at all. I don't know why but even using a basic command like echo ""; does not work... I can only get it to work with the include_once attribute.. Just like to know if someone has got it working...

  • @hiichbinflo9552
    @hiichbinflo9552 5 лет назад +1

    Love your Tutorials, but you have a idea how the buyer can give me his adress before purchusing? Because wen he buy somethink now i dont no were i have to send the Product?

  • @nikolaskomodromos2924
    @nikolaskomodromos2924 5 лет назад

    i create the button as you do but when i click it at 14:07 as you do nothing happen. the only different think that i do was that i left empty the Add advanced variables because i didnt understand what that is. Can anyone help me please???

  • @misfinEM
    @misfinEM 4 года назад

    Hello. Thank you for the video, you explain it very good for a newbie like me to understand too.
    Can you tell me if it is possible to do the same but instead of attach a complete file, i woul like to send a specific data which saved in an Excel? Like 1 row to 1 person, 2nd row to another etc. If it is, do you have a tip what should i search for?
    Thank you!

  • @janoytechwizz3874
    @janoytechwizz3874 5 лет назад +1

    Kudos

  • @Knightfire66
    @Knightfire66 5 лет назад

    i dont get this... normally on paypal their is everything you need... i dont understand the code he implements... on paypal u can send an amount to paypal... if user pays paypal redirects to a thank you page on your website... if not paypal sends them back or you can redirect them back to home... this all is done by paypal...

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 5 лет назад

    Hello! I tried to add a redirect in my listener.php but it is not redirecting me to another page. Basically, once the user has made a purchased, I would like to send the user to another page where an email will be sent...

  • @1111andrews
    @1111andrews Год назад +1

    This is a wonderful tutorial. You did a great job, but I had a lot of trouble with this statement: if ($response == "VERIFIED")...I had to first store $response in another variable and then do the comparison. Must have something to do with the order of the if statement.
    This is what I had to do:
    $pos = $response;
    if ($pos !== false) {
    Can you comment? Thanks...Andrea

    • @SenaidBacinovic
      @SenaidBacinovic  Год назад

      This video has been recorded a long time ago, so it can happen that PayPal's response has been changed. Definitely check what you get and write the code based on that.

  • @darkempire5762
    @darkempire5762 4 года назад

    One thing . Can i use it in real scenario for my website ?
    I just don't know if it works same like ipn simulation . Please help

  • @samsar7
    @samsar7 4 года назад

    if i have have thousands of products in my website, then i will have to create lots of buttons.is there any other way that i can do shortly ? for example i want to change the price(value) of the buynow button within my page using php.

  • @albertpino4406
    @albertpino4406 5 лет назад

    Hi, how could i create a paypal checkout page that only shows the credit cards option as primary choice with the PayPal API?

  • @i-sukanta
    @i-sukanta 5 лет назад

    I am getting "IPN was not sent, and the handshake was not verified. Review your information" - i have a test vps - LAMP installed.. What is wrong? There is no explicit point out of issue. Also, i use your codes. I put all the codes in root dir of the vps. Please help.

  • @Leonquenix
    @Leonquenix 5 лет назад +1

    Thanks, bro. That really helped me

  • @ocoolsanni2803
    @ocoolsanni2803 6 лет назад +1

    Just foundyourchanneland after 2 tutorial I just subscribedn hit notifications.Great tutorials Sir.
    I have a request though about paypal payments. A tutorial on Paypal Implicit payment. No need to add IPN to it coz i've understood i there. Thanks

  • @sou12328
    @sou12328 5 лет назад

    I recieve this : "IPN was not sent, and the handshake was not verified. Please review your information." What s the prb?

  • @justgonegaming307
    @justgonegaming307 5 лет назад +1

    Does this still work in 2019? Where do you get that form to start typing php codes? Thanks.

  • @andrisskutans
    @andrisskutans 4 года назад

    Thanks for video tutorial. But now thinking...if instead of sending an email , i want in my webpage to show some random result to the payer...? Payer, enters some words (for example 100 words in textarea), to check if the words exists in my database. I show payment button. Payer pays. Listener receives and checks Paypal response. .... and here i can not understand how to continue to process entered (textarea) data... Any ideas?

  • @RosalitoUdtohan_01
    @RosalitoUdtohan_01 3 года назад

    Instead of puting the generated buttton code in my actual php file, I want to insert it in my mysql database. Is it possible? I searched the net and it is something that can be done but I don't know how to start.

  • @jackvaughn2364
    @jackvaughn2364 3 года назад

    I used your video.... IPN was not sent, and the handshake was not verified. Review your information. what are the possible reasons?

  • @ramkishoryadav1862
    @ramkishoryadav1862 3 года назад

    nice tutorial sir,please make same payment process with coin payment gateway.

  • @milesmontego7417
    @milesmontego7417 5 лет назад +1

    hey i admire your work you are a true mentor please do you have a video on shopping card

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      Thank you, appreciate the feedback. At the moment I don't have, but will publish one. :)

    • @milesmontego7417
      @milesmontego7417 5 лет назад

      okay sir thanks you are the best

  • @nityanandkumar6699
    @nityanandkumar6699 5 лет назад +1

    thank you sir

  • @Herossandro
    @Herossandro 3 года назад

    Sorry I have a problem I hope you'll respond soon
    "IPN was not sent"
    I tried EVERYTHING please can you help me?

  • @vapon
    @vapon 6 лет назад +1

    Great man! Nice background music too.

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад

    I think i understand now that you need a business account but when testing this at 25.38, must you make a real purchase for this simulator to work? I wouldn't like to go ahead with this if this is the case....I am also having a problem when uploading paypal.php to my server.. says it contain a banned keyword.... I need to ask my host...

  • @mrmr6581
    @mrmr6581 6 лет назад

    you said that it cannot be done on localhost. But can it be done on an apache virtualhost that is on a centos7 on oracle virtual machine. Because my hostgator host doesnot let me 777 the site folder, to get listener.php to create the test.txt. Or am Im doing it wrong?

  • @serviceyali1087
    @serviceyali1087 6 лет назад

    You're very great, but i've met a problem. I've followed all your steps, but i kept receiving 'invalid' when i sent the simulation and refreshed the page. Will you help me with that? Appreciate it.

  • @csmadestupid
    @csmadestupid Год назад

    Hey great video but I keep on getting "INVALID" response please let me know if you have any suggestions. Thank you.

  • @nurmaisarahzaini1228
    @nurmaisarahzaini1228 4 года назад

    Thank you sir for great video. If i using localhost, the ipn will recognise ?

  • @sumit123ization
    @sumit123ization 4 года назад

    its a great help ,thank you.But i have a question that when the mail be sent?and also tell me that can we sent all status that happen in the payment?

  • @omarabdelfattah
    @omarabdelfattah 6 лет назад +1

    Your'e Verry aweesoommmee dudde !!

    • @SenaidBacinovic
      @SenaidBacinovic  6 лет назад +1

      thank you :)

    • @omarabdelfattah
      @omarabdelfattah 6 лет назад

      but i had an issue and i made a post for that in your facebook groub but no one helped !! the listener.php doesn't send mail or wite in the text file and print the response

  • @thegreattober
    @thegreattober 5 лет назад

    Everything works perfectly but we want it to be in sandbox mode and for some reason it is using live payments. Any tips?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      Check the form action URL that you're using, make sure it is using sandbox.

  • @bibash3128
    @bibash3128 5 лет назад

    Hello , paypal ipn simulator works but does not work in real transaction. Do you have the solution?

  • @marciocarvalho6749
    @marciocarvalho6749 6 лет назад +1

    i im having a problem that instead of the information return in POST its returning GET
    i dont know how to change it

    • @Babak_Ahari
      @Babak_Ahari 5 лет назад

      I have also the same problem.:(

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 5 лет назад

    is the word verified case sensitive at line 17? I also thought that your foreach loop should have a {} but it doesn't...

  • @user-ik3wy1kk2b
    @user-ik3wy1kk2b 6 лет назад

    I just tried it. I get the following error while sending IPN: "IPN was not sent, and the handshake was not verified. Review your information." . What is interesting is that everything seems to be working fine. listener.php is sending emails and the values of : $response is = "VERIFIED" and $_POST['receiver_email'] is showing the right email address...I wonder what could be the problem?

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад

    in the notify url.. can you use http or must it be https?

  • @tharinduvishal4929
    @tharinduvishal4929 5 лет назад

    what is the problem if reserve this Alart "IPN was not sent, and the handshake was not verified. Review your information."

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад

    This is very interesting but where did you get test.txt from? Do you need the paypal button to be uploaded for this to work because my server won't allow me to upload it...I also noticed that you didn't include a {} after the foreach()... don't you need those? I would appreciate if someone could assist me here...

  • @elenavilla2587
    @elenavilla2587 5 лет назад

    i got an error in paypal ipn stimulator "IPN was not sent, and the handshake was not verified. Review your information." what should i do?

  • @JamsCademy
    @JamsCademy 5 лет назад +1

    Nice

  • @sharvai937
    @sharvai937 6 лет назад

    Will my website need PCI-DSS compliance even if I use this method?

  • @alktab8993
    @alktab8993 5 лет назад

    Hi my friend why ipn restores me an empty matrix error!
    I have tried on the local server not only working online but do not know the reason for not liking
    I will put you my code!!

  • @viditvivo-account5878
    @viditvivo-account5878 6 лет назад

    Hi. I have followed the same bt when i send an ipn by ipn simulator to my listener. I am receiving nothing. The test.txt file is not generating in my case .
    Plz help me . I am stuck from very long over this .. I really need help
    Regards

  • @cubevisltd8455
    @cubevisltd8455 5 лет назад

    Hi! I got an issue :( In listener.php I got sql query to dabase that changes type of subscription (just text: from standard to ext. gold). The problem is that this query doesn't see $_SESSION['id] which is session variable for my documents. So my question is how to solve this? How to give information about this variable in this document when only PayPal is integrating with this file?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      Yes, session will not work in that case. What you can do is for example that on the listener URL you pass the id, like this:
      listener.php?id=XXX
      So, when PayPal send the data to that URL, you will have id in the $_GET.
      Also, another method could be sending the data through hidden inputs in the PayPal form.

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 лет назад

    At 12:05, all of those options are no longer there in paypal. How can we do a link that will take them to a success or cancel page? thanks!

  • @ahmedatya6226
    @ahmedatya6226 4 года назад

    i got VERIFIED but after continue can not get the parameters of the object

  • @zezeseshill3032
    @zezeseshill3032 3 года назад

    please how i send order customer to my email whithout paypal i wnat only i reseve him address and number and name and title price and name of sushi or what he select i want see that in my email how please

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 5 лет назад

    why do we set the verifyhost and verify peer to 0? isn't it better to set it to 1?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      It is, but for some servers it will fail and then it will confuse most beginners. It is not that much important that we need to treat it as must.

  • @haidaralikhan1707
    @haidaralikhan1707 2 года назад

    How I can convert this code to wordpress plugin

  • @remanentecatolico
    @remanentecatolico 5 лет назад

    Is it mandatory to create a button? how could I manage code for dynamic price?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      It is not a mandatory. In the video when I create a button, I said that it's possible to use protected/not-protected version of the button. Just use not-protected, and you will be able to manually put your price, logo etc.

  • @samjohn6940
    @samjohn6940 5 лет назад

    Is it also true that not all free webhosting supports listener.php? I tried it with a few webhosting services and the listener file doesn't work for some of them... I guess if anyone else is having issue with this then this could be one reason why it doesn't work...

  • @juanbilardi
    @juanbilardi 6 лет назад +1

    Great tutorial keep up the good work! Could you create one about recurring payments and subscription status check?

  • @rromenas
    @rromenas 5 лет назад +1

    Hi. Do you know how to implement buy now button for thousands of products at once?

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      It all depends how entire system is created, but it's always possible to came up with some solution and make it happen.

  • @AlexGrayTech
    @AlexGrayTech 4 года назад

    this seems to not work any more

  • @shahzaib_717
    @shahzaib_717 5 лет назад +1

    you are dedicated Thanks :)

  • @ally5475
    @ally5475 5 лет назад

    I can't make it work. Maybe because my website is in .html not .php. And even when i transfered everything to .php, it didn't work. I'm just not good at .php

  • @TheBlackNight971
    @TheBlackNight971 5 лет назад

    *FIX CODE*
    1) Php no longer accept "filename: path" but you have to insert $path (Example: file_put_contents($path, $response)
    2) Same for fwrite. Instead of "string: $key" you have to delete "string:"

    • @SenaidBacinovic
      @SenaidBacinovic  5 лет назад

      Hmm, PHP never allowed that, and it's only added by PHPStorm to help the developer, but in reality that doesn't exists at all.

    • @TheBlackNight971
      @TheBlackNight971 5 лет назад +1

      @@SenaidBacinovic Okay but it's more clear if you explain that for next time. Cause some people don't know that.

  • @drcod3r329
    @drcod3r329 6 лет назад +1

    oh to be honest that what i was waiting for and looking for thank you alooot :)

    • @SenaidBacinovic
      @SenaidBacinovic  6 лет назад

      Awesome, I am so happy that I could help you. :)

  • @nakulsarkar_in
    @nakulsarkar_in 6 лет назад +1

    so good helpful video....but background music noisy

  • @aguevara3355
    @aguevara3355 6 лет назад

    Hi there, I sended the IPN just as the tutorial and i have the source code, and my test.txt says INVALID..... I don't know why :/ pleeese help :c

  • @rei8306
    @rei8306 5 лет назад

    bro how if its in the cart and i want to save the ordered lists into a sql db after the payment

  • @InFlamesGrowTopia
    @InFlamesGrowTopia 6 лет назад +1

    Subscribed!