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: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 114
Total: 114

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

0 Members and 1 Guest are viewing this topic.

Offline diegolyanky

  • Member
  • *
  • Posts: 42
    • 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: 16451
    • 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

  • Member
  • *
  • Posts: 42
    • 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

  • Member
  • *
  • 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?
Check out this ultimate golf rangefinders list for beginners.

Offline diegolyanky

  • Member
  • *
  • Posts: 42
    • 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

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

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

Powered by EzPortal