Advertisement:

Author Topic: Treasury and Paid Subscriptions (IPN) ---  (Read 1674 times)

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Treasury and Paid Subscriptions (IPN) ---
« on: November 16, 2007, 07:24:45 PM »
I have both and want to have both the Treasury and the Paid Subscription mods on my website. However, paypal only allows you to enter one IPN address. Does anyone know if they can test both the mods and somehow combine it all into one?

Thanks,
brianjw

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,398
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Treasury and Paid Subscriptions (IPN) ---
« Reply #1 on: November 16, 2007, 08:52:35 PM »
paypal supports the notify_url property in the html form for paypal to allow more than one ipn location.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: Treasury and Paid Subscriptions (IPN) ---
« Reply #2 on: November 17, 2007, 12:07:42 PM »
Notify_url property? - All I know is they both ask me to login to my paypal and enter the IPN address that goes with the mod but paypal only allows one IPN.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,398
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Treasury and Paid Subscriptions (IPN) ---
« Reply #3 on: December 12, 2007, 02:34:35 PM »
Inside the paypal form code that is generated you would place the notify url property this can not be set if you are using encrypted paypal buttons.

Just change the value to your ipn location
Code: [Select]
<input type="hidden" name="notify_url" value="http://www.smfhacks.com/storedemo/storeipn.php" />

Then add it to the paypal form code.

Simple paypal form code example do not use since it is going to paypal's sandbox mode
Code: [Select]
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="notify_url" value="http://www.smfhacks.com/storedemo/storeipn.php" />
<input type="hidden" name="business" value="youremailhere">
<input type="hidden" name="item_name" value="test">

<input type="hidden" name="item_number" value="4">
<input type="hidden" name="amount" value="1">
<input type="hidden" name="shipping" value="0">
<input type="hidden" name="no_shipping" value="1">


<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-BuyNowBF">
</form>
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,157
  • Gender: Male
Re: Treasury and Paid Subscriptions (IPN) ---
« Reply #4 on: December 12, 2007, 04:07:34 PM »
Thanks. :)