Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 198
Total: 198

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • 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
6954 Views
Last post August 09, 2011, 05:58:17 am
by NeoX
2 Replies
4394 Views
Last post December 19, 2014, 10:33:23 am
by w5hro
2 Replies
4056 Views
Last post September 12, 2015, 07:35:26 pm
by Sweetwater
3 Replies
4150 Views
Last post March 23, 2018, 10:19:25 pm
by Michael Vail
2 Replies
1209 Views
Last post June 02, 2023, 06:51:18 am
by Nicole

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal