Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 221
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 202
Total: 202

Author Topic: Important Changes for SMF Store, SMF Classifieds, Downloads Pro, Adseller Pro  (Read 15469 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
PayPal is doing a change to IPN taking affect February 1, 2013 which affects SMF Store, SMF Classifieds, Downloads Pro,  Adseller Pro.
These products must be updated with the fix.

We have updated all our products with the latest fix and also below included a hotfix for each product affected.


SMF Store Changes in storeipn.php, storeipn2.php
Find
Code: [Select]
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";

Change to
Code: [Select]
$header ="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .="Content-Type: application/x-www-form-urlencoded\r\n";
if ($modSettings['store_sandbox'] == 0)
    $header .="Host: www.paypal.com\r\n";
else
    $header .="Host: www.sandbox.paypal.com\r\n";
   
$header .= "Content-Length: " . strlen($req) . "\r\n";
$header .="Connection: close\r\n\r\n";



SMF Classifieds Changes in classifiedsipn.php and classifiedsipn2.php
Code: [Select]
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";

Change to
Code: [Select]
$header ="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .="Host: www.paypal.com\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n";
$header .="Connection: close\r\n\r\n";


Ad Seller Pro changes in adselleripn.php and adselleripn2.php

Code: [Select]
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
Change to
Code: [Select]
$header ="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .="Content-Type: application/x-www-form-urlencoded\r\n";
if ($AdSellerSettings['seller_sandbox'] == 0)
    $header .="Host: www.paypal.com\r\n";
else
    $header .="Host: www.sandbox.paypal.com\r\n";
   
$header .= "Content-Length: " . strlen($req) . "\r\n";
$header .="Connection: close\r\n\r\n";



Downloads Pro changes in downloadsipn.php and downloadsipn2.php
Code: [Select]
$header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
$header .= "Content-Type: application/x-www-form-urlencoded\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
Change to
Code: [Select]
$header ="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .="Content-Type: application/x-www-form-urlencoded\r\n";
$header .="Host: www.paypal.com\r\n";
$header .= "Content-Length: " . strlen($req) . "\r\n";
$header .="Connection: close\r\n\r\n";


If you have any questions let us know
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
1 Replies
5717 Views
Last post April 06, 2008, 06:32:47 pm
by SMFHacks
2 Replies
6241 Views
Last post August 22, 2008, 11:36:23 am
by Bar Nuthin
2 Replies
11983 Views
Last post March 17, 2009, 09:07:48 am
by knat
2 Replies
4849 Views
Last post February 03, 2013, 12:13:10 pm
by amwebby
9 Replies
33609 Views
Last post June 01, 2018, 08:39:36 pm
by Nicole

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal