-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathZarinpal Payment Method.xml
31 lines (25 loc) · 1.27 KB
/
Zarinpal Payment Method.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<plugin name="Zarinpal Payment Method" version_long="10000" version_human="1.0.0" author="Sijad aka Mr.Wosi" website="http://skinod.com" update_check="http://skinod.com/updatechk/sodzarinpalpaymentmethod"><hooks/><htmlFiles/><cssFiles/><jsFiles/><resourcesFiles/><lang><word key="gateway__Zarinpal" js="0">Zarinpal</word><word key="zarinpal_merchant_id" js="0">Merchant ID</word><word key="zarinpal_zarin_gate" js="0">Pay Via Zaringate</word></lang><versions><version long="10000" human="1.0.0"><![CDATA[//<?php
/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* Install Code
*/
class ips_plugins_setup_install
{
/**
* ...
*
* @return array If returns TRUE, upgrader will proceed to next step. If it returns any other value, it will set this as the value of the 'extra' GET parameter and rerun this step (useful for loops)
*/
public function step1()
{
return TRUE;
}
// You can create as many additional methods (step2, step3, etc.) as is necessary.
// Each step will be executed in a new HTTP request
}]]></version></versions></plugin>