?
Solved

How do i add a payment trigger to my PHPBB page

Posted on 2011-03-06
11
Medium Priority
?
553 Views
Last Modified: 2012-05-11
Hi all
I am working with PHPBB and would like to add a trigger to posting from one of my area so that client cant post untill they have payed in paypal first so

------ Example FORUM -- View Current Subjects -- POST -- Enter Information client wants to post - Click post button - go to paypal confirm payment - post is submitted

any help would be great
0
Comment
Question by:awolarczuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35053213
In order for you or your script to know if a paypal payment has been made, you need to setup paypals IPN (instant payment notification). Basically you tell paypal what URL to send the data to and it sends back a bunch of code (most of it useless) to your script. You then have the dubious task of finding out which $variables you really need from them (mainly only need to see a "success" or a "fail") then you can continue your code based on the returned result. I have done it before but it's no walk in the park.

Lookup instant payment notification paypal and you will see tons of tutorials.
0
 

Author Comment

by:awolarczuk
ID: 35060995
mate any way you could help me set it up
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35061112
I am really busy getting a huge project off the ground for a client so I don't have the time unfortunately. Google will be your friend, or, post another question and entitle it something like "how to setup a IPN for paypal"

There are plenty of samples you could look at and if you log into paypal (you need a development account) you can go to "Instant Payment Notification" I think it is on one of the menus from memory, and it will guide you through the setup process. The biggest problem I had was working out what they sent back to my script and how to decode it all. Someone showed me how to echo all the posted values and I was able to extract only what I needed to use. It is a little time consuming but worth the effort in the end. Sorry I can't be of more help but I just don't have the time. Good luck
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:awolarczuk
ID: 35061453
thats cool i will look it up i know you are busy buit you dont have any examples do you
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35061542
Yes you can look at one I did a while back. This is the IPN script. Tons of data in it which is not all needed but it might help you out. ipn-process1.php
0
 

Author Comment

by:awolarczuk
ID: 35061967
thanks amte i am reading though it now, did u use this with PHPBB not to sure how to add it in ext
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35063249
No I used it directly with php scripts that I write. I created the website from scratch and needed to process payments so I used paypal for payments and I wrote every script for the website. Took me about a year!
0
 

Author Comment

by:awolarczuk
ID: 35063310
about the same as a projrect i am working on for another client, but i ma using here is phpbb not very strong with php and from a post page but now fromm all of the post area i want the client to pay for the post and the post is written
0
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35063315
You need good php skills to edit that file to work properly. Might be better if you get an already done one from paypal. Much easier. Sorry I can't help any more, to busy
0
 

Author Comment

by:awolarczuk
ID: 35063320
thats cool mate no problem at all thanks for the help  you  have given
0
 
LVL 20

Accepted Solution

by:
Mark Brady earned 2000 total points
ID: 35063333
You're welcome
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In this article, we’ll look at how to deploy ProxySQL.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question