Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12241
Latest: ronaldjduncan
New This Month: 10
New This Week: 1
New Today: 1
Stats
Total Posts: 39383
Total Topics: 6933
Most Online Today: 77
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 38
Total: 39

Author Topic: Rewrite rule for IPN  (Read 128 times)

0 Members and 1 Guest are viewing this topic.

Offline diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 40
    • View Profile
Rewrite rule for IPN
« on: November 26, 2018, 10:22:38 am »
Hi:


I have upgraded from SMF 1.1.x to 2.0.x and updated the SMFSTORE to the latest version.
Behold, the subscriptions created in version 1.x of SMFStore point to storeipn.php and the new version works on storeipn2.php

Now, I have been able to modify the URL of the new IPN in PayPal, but this will only work with the "new subscriptions" and will not work with the subscriptions already created in the previous version.

I need to create a rule in my apache (I have a dedicated server, it is not rented hosting) so I think I would need to redirect from my .htaccess so that all requests sent to storeipn.php are redirected to storeipn2.php

I have read about using the method $ POST (307) in the rule, but I do not know how it would be.

Could you help me with this problem? ... Since I can not modify the notifications of the subscriptions already created.

Of course, thank you!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14715
    • View Profile
Re: Rewrite rule for IPN
« Reply #1 on: November 26, 2018, 10:56:05 am »
Easy thing you can do copy storeipn2.php and rename it storeipn.php
and that will work fine.
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/

Offline diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 40
    • View Profile
Re: Rewrite rule for IPN
« Reply #2 on: November 26, 2018, 10:58:55 am »
Easy thing you can do copy storeipn2.php and rename it storeipn.php
and that will work fine.

Awesome !!!

You rule !!

Thanks Admin !!

 

+- Recent Topics

condition de livraison by SMFHacks
December 14, 2018, 12:47:53 pm

Multiple Versions in SMF by Boomslanger
December 13, 2018, 06:13:31 pm

GDPR Helper free doubts by Rock Lee
December 08, 2018, 06:20:57 pm

Downloads Pro 5.0 Released by SMFHacks
December 05, 2018, 03:11:32 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 30, 2018, 09:03:04 am

Rewrite rule for IPN by diegolyanky
November 26, 2018, 10:58:55 am

EDITOR PRO by SMFHacks
November 25, 2018, 03:12:19 pm

SMF Gallery Pro 8.0 / PHP 7.0 onwards by SMFHacks
November 25, 2018, 12:33:10 pm

5.0 beta log errors by tfs
November 24, 2018, 10:37:06 pm

Download button doesn't initiate a download the first time by SMFHacks
November 24, 2018, 09:08:55 pm

Powered by EzPortal