Author Topic: my paypal integration.... PLEASE COMMENT TO IMPROVE  (Read 3060 times)

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
my paypal integration.... PLEASE COMMENT TO IMPROVE
« on: December 16, 2007, 12:29:53 PM »
I MODDED MY SITE TO ADD THE PAY-PAL SUBSCRIBE FEATURE!

YOU CAN MOD THE BELOW WITH YOUR OWN INFORMATION


Quote
      <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <div align="center">
  <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
  <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
  <input type="hidden" name="cmd" value="_xclick-subscriptions">
  <input type="hidden" name="business" value="YOUREM@IL.ADDRESS">
  <input type="hidden" name="item_name" value="YOUR WEBSITE NAME">
  <input type="hidden" name="no_shipping" value="1">
  <input type="hidden" name="return" value="http://HTTP://WWW.YOURDOMAIN.COM/LOGIN.PHP___THIS IS THE PAGE THE USER WILL GO TO AUTOMATICALLY AFTER PAYING PAYPAL SUBSCRIPTION">
  <input type="hidden" name="no_note" value="1">
  <input type="hidden" name="currency_code" value="USD">
  <input type="hidden" name="lc" value="US">
  <input type="hidden" name="bn" value="PP-SubscriptionsBF">
  <input type="hidden" name="a1" value="0.00">
  <input type="hidden" name="p1" value="7">
  <input type="hidden" name="t1" value="D">
  <input type="hidden" name="a3" value="10.00">
  <input type="hidden" name="p3" value="1">
  <input type="hidden" name="t3" value="M">
  <input type="hidden" name="src" value="1">
  <input type="hidden" name="sra" value="1">
        </div>
      </form>

IT'S A 7-DAY FREE TRIAL, AND $10/MONTH THEREAFTER.

CHANGE index.php and play.php to have the login_check feature, then, you can edit the login_check.php to have the user go back to the root domain of your page, this way, users cannot view a video or sign-up without first going through the paypal subscription page..... what do you guys think???

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2344
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #1 on: December 16, 2007, 01:16:44 PM »
What's to stop people going straight to the registration page? How about when someone cancels? Their accounts will remain active...

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #2 on: December 16, 2007, 03:12:51 PM »
what stops people from going straight to the registration page is that they dont know where it is. I deleted the login/forgot pass from the login.php, and renamed login.php to something different......

Now that you do mention if they do cancel their accounts will remain active, I checked paypal.com and they have an integration I am looking more into as we speak that can password-protect the website so that if they are not current members it will redirect them to the index again.

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2344
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #3 on: December 16, 2007, 03:24:34 PM »
Look into paypal IPN, this basically informs a certain script you setup on your site of any changes (subscriptions, cancellations, etc...) then make your script do certain actions (create account, delete account, etc..)

Good luck :)

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #4 on: December 16, 2007, 05:40:22 PM »
The IPN is exactly what I am talking about and is what I am doing right now, i am almost done, very excited :-)

inmotion

  • Administrator
  • Hero Member
  • *****
  • Posts: 2788
  • PHPmotion Developer
    • PHPmotion Demo
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #5 on: December 17, 2007, 10:04:36 AM »
Quote
IT'S A 7-DAY FREE TRIAL, AND $10/MONTH THEREAFTER.
this may be a silly question BUT why would people pay when they  can use many video sharing sites for free?

jayjota

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1402
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #6 on: December 17, 2007, 04:59:56 PM »
That all stems from your content.
Not all video sharing sites are free, and most are just general, its hard to find real content on certain subjects......

thegreyhat

  • Newbie
  • *
  • Posts: 11
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #7 on: December 20, 2007, 08:01:13 AM »
let use know when you got it all sorted... i very much like to incorporate a paypal subscription to my site

riger99

  • Full Member
  • ***
  • Posts: 299
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #8 on: December 26, 2007, 03:33:53 PM »
IT'S A 7-DAY FREE TRIAL, AND $10/MONTH THEREAFTER.

Um... I agree with inmotion. Think twice!! There are a lot of sites that have video content you pay for and just as many with the same content for free!!!  ;D
(One person I know learned this the hard way).

grabber

  • Sr. Member
  • ****
  • Posts: 195
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #9 on: December 27, 2007, 10:12:21 PM »
will have to think twice my self unless i am offering tutorials etc thats unique to my site or so..... ;)

members

  • Guest
Re: my paypal integration.... PLEASE COMMENT TO IMPROVE
« Reply #10 on: December 31, 2007, 03:23:28 PM »
Hi Peeps,

How many sites are completely nichified...?

If I am doing a tutorial series for a specific niche
- like how to create video effects then people would
pay to grab that info...

Create a membership site out of your phpmotion.
People can request vids and you and/or the other
contributors can upload them to share with paying
members.

Also, there's LOTS of FREE info on the Internet BUT
people will still pay LOTS for that same info, esp.
if you have it all in one place, repackage it, etc.

Look @ Matt Furey. He's made a very successful
business from using freely available info(public domain).
People are forking over their money to grab what
he "created"(more like repackeaged)... ; P

Btw I enjoy reading his newsletter.

Thanks &
God Bless,
Yoon