Link to "Paypal Mod"

Message board links from 2010 as taken from the Internet Wayback Machine pages.
Post Reply
User avatar
admin
Site Admin
Posts: 159
Joined: Mon Aug 26, 2013 3:47 pm

Link to "Paypal Mod"

Post by admin »

User avatar
admin
Site Admin
Posts: 159
Joined: Mon Aug 26, 2013 3:47 pm

Re: Link to "Paypal Mod"

Post by admin »

08-20-2009 2:07 PM
Lurkmaster
Top 50 Contributor
Joined on 08-20-2009
Posts 5

Paypal Mod
Reply Contact

Do I need a Paypal Sandbox account (or whatever that is) for the paypal mod to work?



Because, when I click on "Make Payment", nothing seems to happen. I've got the flag to true and my valid Paypal email entered in (its a premier account).

'Enable online payments (via PayPal) flag.
const ENABLE_PAYPAL_ADDON = true

'Online payment settings.
const PAYPAL_BUSINESS = "IveGotMyPaypalEmail@here.com"
const PAYPAL_ITEM_NAME = "2009 Football Pools"
08-20-2009 2:19 PM In reply to
mikehall
Top 10 Contributor
Joined on 08-09-2009
Chandler, AZ
Posts 456

Re: Paypal Mod
Reply Contact

You don't need a sandbox account, unless you want to do some customization and need to test it with play money.

Your settings should be fine (I'll assume you have

const PAYPAL_INVOICE_PREFIX = "FP09-"

or something similar along with the other two settings).

Is it not loading the paypal site when you hit Submit on the Make Payment page?
Filed under: paypal
08-22-2009 11:48 AM In reply to
Lurkmaster
Top 50 Contributor
Joined on 08-20-2009
Posts 5

Re: Paypal Mod
Reply Contact

When I was clicking on "My Account > "Make Payment" , the screen would basically refresh the screen and not take me to "makePayment.asp"

After testing each setting that I changed, I notice that it worked again when I turned the message board back on.

So, it appears when you set message board to "false" the paypal mod does not work.



'--------------------------------------------------------------------------
' Message board settings.
'--------------------------------------------------------------------------

'Enable message board flag.
const ENABLE_MESSAGE_BOARD = true

08-22-2009 12:38 PM In reply to
mikehall
Top 10 Contributor
Joined on 08-09-2009
Chandler, AZ
Posts 456

Re: Paypal Mod
Reply Contact

I see the problem, just change this in makePayment.asp:

'If the PayPal add-on is disabled, redirect to the home page.
if not ENABLE_MESSAGEL_BOARD then
Response.Redirect("./")
end if

to this:

'If the PayPal add-on is disabled, redirect to the home page.
if not ENABLE_PAYPAL_ADDON then
Response.Redirect("./")
end if

The download has been updated with this change.

Page 1 of 1 (4 items)
Post Reply