Results 1 to 6 of 6

Thread: Show page after PayPal payment

  1. #1
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Show page after PayPal payment

    Hi

    I am looking for advice, I need a user to see a php page with a job advert form on only once PayPal payment has been received which I know how to do and is working but I need the user to be only allowed to submit the job advert form once and if they want to add a new job advert then they need to pay via PayPal again

    Is this possible to do

    Thank you in advance

    Ian

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Could help http://stackoverflow.com/questions/6...-has-been-made plus there are links to the PayPal API and tutorials in the comments - one-time payments looks promising https://developer.paypal.com/docs/cl...ment-curl-etc/
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi Beverley

    Thank you for the reply and the links, I am looking at the paypal one time payment but unsure how to code it in my php page and what if the user adds a job and then goes back to the same url a minute later and adds another job, they can add another job without paying?

    Would you be able to help me on this as I can't find any sample coding that I can use to get me started?

    Thank you in advance

    Ian

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Sorry I haven't really looked at it so I don't know how it would work.

    If I have time when I'm back in the office I'll try and look at it in more detail, but I can't promise anything around my other work.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    That's ok no worries, thank you for taking a look when you can, appreciate it

    In the mean time, I'll keep looking around on Google and see if can find any sample code for it to start me off

  6. #6
    Join Date
    May 2012
    Posts
    217
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    I found the following link that looks quite straight forward but I already have paypal ipn so not sure if is best to get rid of that coding and use the coding from the following link

    http://knowledge.santanu.net/paypal-...-form-and-ipn/

    I did think what if I just add a cancel url in, would that prevent them from accessing the page after paying and visiting it once so if they try to visit it a second time it will just redirect them to the cancel url I put in?

Similar Threads

  1. Replies: 6
    Last Post: 06-10-2013, 02:53 PM
  2. how can we display listbox of price in paypal page ?
    By ghanasyam in forum Looking for such a script or service
    Replies: 0
    Last Post: 10-04-2011, 10:31 AM
  3. automatic payment
    By alexdog1805 in forum PHP
    Replies: 1
    Last Post: 11-12-2009, 05:55 PM
  4. Recurring Payment Paypal
    By sonny100 in forum MySQL and other databases
    Replies: 0
    Last Post: 06-19-2008, 10:31 AM
  5. Online Payment with PHP
    By baltazhor200401 in forum PHP
    Replies: 3
    Last Post: 11-14-2006, 12:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •