Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12349
Latest: SUCCESSForum
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 40048
Total Topics: 7051
Most Online Today: 82
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 21
Total: 21

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

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

+- Recent Topics

[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

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Stripe Integration by SMFHacks
February 08, 2020, 10:55:29 pm

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Characters dispayed as boxes by SMFHacks
January 16, 2020, 07:21:51 am

Powered by EzPortal