Treasury and Paid Subscriptions (IPN) ---

Started by brianjw, November 16, 2007, 07:24:45 PM

Previous topic - Next topic

brianjw

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

vbgamer45

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

brianjw

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.

vbgamer45

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

<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

<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

brianjw


Advertisement: