can everybody run these script and add users with $_GET to your PREMIUM - usergroup?
Only user subscribe to a site registrator - payment system like ShareIt or Plimus
Or how do you secure this script?
Yes, this is a problem and I do not know how to solve it.
And where comes these $_GET from?
From Plimus or ShareIt after payment.
This suggests that Plimus:
You would have to check if your system/website works with URL posts, here are
the details you could use:
BuyNow Parameters (to post details to the order page):
https://support.plimus.com/html/buynowParameters.html
IPN values to be returned to you or your DB after a purchase is completed:
https://secure.plimus.com/html/httpNotificationVariable.html
Or you could use the following option:
-------------------------------------------------------------
You can collect all the information (contract ids and quantity) on your site
and post it to our server. To do that you will need to create a form (and
submit it to our server) as follows:
<form action="https://www.plimus.com/jsp/checkout.jsp"
method="post">
<input type=hidden name=developerId value=AAA>
<input type=hidden name=submitAction value="buynow">
<input type=hidden name=numberOfContracts value=3>
<input type=hidden name=contractId1 value=XXX>
<input type=hidden name=quantity1 value=1>
<input type=hidden name=contractId2 value=YYY>
<input type=hidden name=quantity2 value=2>
<input type=hidden name=contractId3 value=ZZZ>
<input type=hidden name=quantity3 value=4>
</form>
Where AAA is your vendor id, XXX, YYY and ZZZ are the contract ids.
* Note that you can also post contracts with quantity=0 and it will not be
added to the order.
* Additional parameters you can post: currency, bCur, couponCode, custom1,
custom2, custom3, custom4, custom5
And here is a sample script
http://home.plimus.com/ecommerce/learning-center/ipn-code-sample
Can you explain in details about what you are after?
I created a flash app on the FLEX and put it in MODx site. I did that some features of my app access is limited only for users of Premium group. It works fine. Now if a user wants to use the advanced features of my app, he must pay a subscription with help Shareit or Plimus. After payment Registrator runs the script on my server, which transfer user to the Premium group. When payment ends and no subscription renewal, the registrator run another script, which returns the user in the normal group.
private modx-resource.
What is "private modx-resource"?