PHPackages                             wikp/payment-mtgox-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. wikp/payment-mtgox-bundle

AbandonedArchivedSymfony-bundle[Payment Processing](/categories/payments)

wikp/payment-mtgox-bundle
=========================

Bundle for creating payment system based on MtGox.com (Bitcoin cryptocurrency

v0.1.0(13y ago)0125MITPHPPHP &gt;=5.3.3

Since Feb 24Pushed 13y ago1 watchersCompare

[ Source](https://github.com/wikp/PaymentMtgoxBundle)[ Packagist](https://packagist.org/packages/wikp/payment-mtgox-bundle)[ Docs](http://github.com/wikp/PaymentMtgoxBundle)[ RSS](/packages/wikp-payment-mtgox-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

PaymentMtgoxBundle
==================

[](#paymentmtgoxbundle)

This bundle utilizes [MtGox](https://mtgox.com/)'s IPN (Instant Payment Notification) providing ability to create for example donation system, or simple shop. The only thing you are forced to do is to create `Order` class implementing `OrderInterface` and its doctrine repository (implementing `OrderRepositoryInterface`) and redirect user to MtGox Payment Page (implementation of obtaining address to redirect is also included in this bundle).

Full documentation and big refactor soon, so use only for testing purposes (I'm using this on production and everything works well, but my refactor implies your refactor ;) ).

Documentation
-------------

[](#documentation)

### Installation

[](#installation)

`PaymentMtgoxBundle` is installed as every symfony bundle (`composer require`, change in `app/AppKernel.php`)

### Configuration

[](#configuration)

You should first configure [JMSPaymentCoreBundle](https://github.com/schmittjoh/JMSPaymentCoreBundle) (so only put `payments_secret` in `app/config/parameters.yml'). Next get your api key and secret and also put them there. Something like that:

```
mtgox_api_key:    your-mtgox-api-key
mtgox_api_secret: "+your-mtgox-api-secret=="

```

You should also add IpnController to your `app/config/routing.yml`:

```
wikp_payment_mtgox:
    resource: "@WikpPaymentMtgoxBundle/Resources/config/routing.yml"
    prefix:   /mtgox

```

Next, write your Order entity and its Repository:

```
