Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12376
Latest: Printablecalendars
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 40220
Total Topics: 7084
Most Online Today: 91
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 49
Total: 49

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • 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
4745 Views
Last post August 09, 2011, 05:58:17 am
by NeoX
2 Replies
2794 Views
Last post December 19, 2014, 10:33:23 am
by w5hro
2 Replies
2626 Views
Last post September 12, 2015, 07:35:26 pm
by Sweetwater
4 Replies
2324 Views
Last post September 28, 2015, 10:36:13 pm
by shuban
3 Replies
1934 Views
Last post March 23, 2018, 10:19:25 pm
by scso1502

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal