Skip to content

Commit

Permalink
added some parts for xsolla
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Nov 29, 2015
1 parent 3995041 commit 4df3a44
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ php:
- 5.6
- 7
- hhvm
- hhvm-nightly

matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: hhvm-nightly

before_script:
- composer self-update
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can find some screenshots @ [screenshot-directory](https://github.com/kokspf
- SecretQuestionSystem (possible to enable it in the config, and set the question in the admin panel)
- SecretLogin (you can define different roles, which has to confirm there mail before they can login)
- lost Password
- Donate (PaymentWall and Superreward, in default added)
- Donate ([PaymentWall](https://www.paymentwall.com), [Superrewards](http://superrewards.com/) and [xsolla](http://xsolla.com/), in default added)
- TicketSystem (with bb-code) change TicketCategories in the Adminpanel
- AccountPanel (to change the web/ingame password)
- CharacterPanel (to show current status of a character, set main character[alias for ticket-system])
Expand Down Expand Up @@ -92,6 +92,7 @@ To improve the performance

- Paymentwall default link => `/payment-api/payment-wall-response.html`
- Superreward default link => `/payment-api/super-reward-response.html`
- xsolla default link => `/payment-api/xsolla.html`

Please check the config with the key `payment-api` to setup the secret-keys, ban-time and more.

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"ext-intl" : "*",
"ext-gd" : "*",
"ext-curl" : "*",
"ext-json" : "*",
"twig/twig": "1.*",
"zendframework/zendframework": "~2.5",
"doctrine/doctrine-orm-module": "0.*",
Expand Down
1 change: 1 addition & 0 deletions config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
'small_user_service' => 'PServerCMS\Service\User',
'payment_api_log_service' => 'PServerCMS\Service\PaymentNotify',
'payment_api_ip_service' => 'PServerCMS\Service\Ip',
'payment_api_validation' => 'PServerCMS\Service\PaymentValidation',
'zfcticketsystem_ticketsystem_service' => 'PServerCMS\Service\TicketSystem',
],
'aliases' => [
Expand Down
3 changes: 3 additions & 0 deletions src/PServerCMS/Service/PaymentNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ protected function mapPaymentProvider2DonateType(Request $request)
case Request::PROVIDER_SUPER_REWARD:
$result = DonateLog::TYPE_SUPER_REWARD;
break;
case Request::PROVIDER_XSOLLA:
$result = DonateLog::TYPE_XSOLLA;
break;
}

return $result;
Expand Down

0 comments on commit 4df3a44

Please sign in to comment.