SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 08:39:20 am

Login with username, password and session length
Members
Total Members: 10073
Latest: makablue
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 85
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 57
Total: 57
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Store testing with PayPal Sandbox  (Read 6077 times)
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« on: May 28, 2007, 05:06:15 pm »

Store testing with PayPal Sandbox


This guide is going to go over testing with PayPal Sandbox.

SMF Store comes with a couple debugging features.

To enable debugging create paypal.txt in your smf forum's root directory and make it writable
Then inside storeipn.php in the root of forum
Find
$paypal_debug = false;
And change to
$paypal_debug = true;

This will log any paypal query to the text file.



Now on to testing the store with PayPal sandbox
The sandbox allows you to test the store with fake credit cards, echecks, and PayPal payments.

First thing you need to do is signup for a sandbox account at
https://developer.paypal.com/

Once you have an account at the sandbox you can create fake paypal accounts on the sandbox to test with the store.


To enable sandbox mode for SMF Store you will need to edit the database using phpMyAdmin or another database editor.
Once inside your database you will need to go to the smf_settings table;
Find the variable
store_sandbox
And change the value from 0 to 1

This will allow the store to enter sandbox mode and will accept the sandbox accounts in your developer account.
This is a great way to test the store.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.823 seconds with 19 queries.