Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12357
Latest: cyntholsns01
New This Month: 8
New This Week: 1
New Today: 1
Stats
Total Posts: 40079
Total Topics: 7056
Most Online Today: 81
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 32
Total: 33

Author Topic: Store testing with PayPal Sandbox  (Read 10523 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15041
    • View Profile
Store testing with PayPal Sandbox
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
4649 Views
Last post August 09, 2011, 05:58:17 am
by NeoX
2 Replies
2738 Views
Last post December 19, 2014, 10:33:23 am
by w5hro
2 Replies
2562 Views
Last post September 12, 2015, 07:35:26 pm
by Sweetwater
4 Replies
2264 Views
Last post September 28, 2015, 10:36:13 pm
by shuban
3 Replies
1297 Views
Last post March 23, 2018, 10:19:25 pm
by scso1502

+- Recent Topics

Only variables should be passed by reference by Zaphod
Today at 11:20:48 am

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

Powered by EzPortal