-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from omarxp/thankyoupage
Add thankyou page for akulaku
- Loading branch information
Showing
68 changed files
with
7,467 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_STORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
### Releasing / Publishing Module to Drupal.Org | ||
Module Project URL: https://www.drupal.org/project/midtrans_commerce | ||
Drupal Git Repository URL: https://git.drupalcode.org/project/midtrans_commerce | ||
|
||
#### HOW TO: | ||
##### Prepare: | ||
1. Get drupal git access with ssh key | ||
2. Clone or add remote url : `git remote add drupal git@git.drupal.org:project/midtrans_commerce.git` | ||
3. Update module (new features, bug fixes, etc) | ||
|
||
##### Update Version: | ||
1. Open midtrans_commerce.info.yml and remove (version, project, datestamp), this will automatically added by drupal when user install the module, sample: | ||
``` | ||
# Information added by Drupal.org packaging script on 2021-09-07 | ||
version: '2.1.0-alpha2' | ||
project: 'midtrans_commerce' | ||
datestamp: 1631003789 | ||
``` | ||
2. update version in Readme.md file | ||
|
||
##### Release: | ||
1. Open https://www.drupal.org/project/midtrans_commerce | ||
2. Scroll to bottom and click Add new release | ||
3. Please follow this docs to release to drupal.org | ||
Release naming conventions: https://www.drupal.org/node/1015226 | ||
Creating project release: https://www.drupal.org/docs/develop/git/git-for-drupal-project-maintainers/creating-a-project-release | ||
Valid release branch examples: | ||
2.0.x | ||
2.1.x | ||
Valid release tag examples: | ||
2.0.1 | ||
2.1.0-alpha1 | ||
2.1.0-alpha2 | ||
2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
{ | ||
"name": "midtrans/midtrans-drupal8", | ||
"name": "drupal/midtrans_commerce", | ||
"description": "The official Midtrans extension for the Drupal Commerce 2", | ||
"homepage": "https://midtrans.com", | ||
"version": "2.0.1", | ||
"type": "drupal-module", | ||
"license":"MIT", | ||
"require": { | ||
"midtrans/midtrans-php": "^2.4" | ||
} | ||
"homepage": "http://drupal.org/project/midtrans_commerce", | ||
"license": "GPL-2.0+", | ||
"type": "drupal-module" | ||
} |
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
// Silence is golden. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Midtrans | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Check PHP version. | ||
*/ | ||
if (version_compare(PHP_VERSION, '5.4', '<')) { | ||
throw new Exception('PHP version >= 5.4 required'); | ||
} | ||
|
||
// Check PHP Curl & json decode capabilities. | ||
if (!function_exists('curl_init') || !function_exists('curl_exec')) { | ||
throw new Exception('Midtrans needs the CURL PHP extension.'); | ||
} | ||
if (!function_exists('json_decode')) { | ||
throw new Exception('Midtrans needs the JSON PHP extension.'); | ||
} | ||
|
||
// Configurations | ||
require_once 'Midtrans/Config.php'; | ||
|
||
// Midtrans API Resources | ||
require_once 'Midtrans/Transaction.php'; | ||
|
||
// Plumbing | ||
require_once 'Midtrans/ApiRequestor.php'; | ||
require_once 'Midtrans/Notification.php'; | ||
require_once 'Midtrans/CoreApi.php'; | ||
require_once 'Midtrans/Snap.php'; | ||
|
||
// Sanitization | ||
require_once 'Midtrans/Sanitizer.php'; |
Oops, something went wrong.