Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12311
Latest: milo90
New This Month: 12
New This Week: 3
New Today: 0
Stats
Total Posts: 39659
Total Topics: 6983
Most Online Today: 61
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 38
Total: 38

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

0 Members and 1 Guest are viewing this topic.

Offline diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 41
    • 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: 14852
    • 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: 41
    • 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 !!

Offline Engram

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Rewrite rule for IPN
« Reply #3 on: December 18, 2018, 09:39:41 am »
A simple rename like that doesn't screw up anything else in the long run, right?

Offline diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 41
    • View Profile
Re: Rewrite rule for IPN
« Reply #4 on: December 18, 2018, 10:01:49 am »
A simple rename like that doesn't screw up anything else in the long run, right?


No, my friend. Do it, it has worked for me and in fact, it works perfectly well. ;)



 

+- Recent Topics

Pretty Urls extras by Oldiesmann
April 18, 2019, 10:50:05 pm

Message Editor Pro - Copy and Paste Question by SMFHacks
April 14, 2019, 09:36:06 am

PERMIT based permissions vs DENY by tfs
April 11, 2019, 06:58:08 pm

Pretty URLs 2.0.15 forum with >115k posts in just under 8k threads by SMFHacks
April 10, 2019, 01:17:37 pm

Is Menu Editor Pro SMF 2.1 compatible? by videoed
April 05, 2019, 01:51:41 pm

Can't See Gallery? by sah62
March 30, 2019, 08:29:48 am

[Mod] SEO Microdata Breadcrumbs by SMFHacks
March 22, 2019, 11:56:00 pm

Resizing by SMFHacks
March 22, 2019, 07:57:53 am

[Mod]Global Message Box by SMFHacks
March 19, 2019, 03:10:39 pm

condition de livraison by alain54100
March 17, 2019, 02:54:02 am

Powered by EzPortal