Download the PHP package wikp/payment-mtgox-bundle without Composer

On this page you can find all versions of the php package wikp/payment-mtgox-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payment-mtgox-bundle

PaymentMtgoxBundle

This bundle utilizes MtGox'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

Installation

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

Configuration

You should first configure 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:

Obtaining payment URL

You could obtain payment URL where you next should redirect a user in this way:

IpnController

When you configure bundle and do the payment, IpnController should mark it as finished when all the money will be transfered to your MtGox account.

Remember that you CANNOT debug this on your local machine, because MtGox probably won't be able to access it.


All versions of payment-mtgox-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
jms/payment-core-bundle Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wikp/payment-mtgox-bundle contains the following files

Loading the files please wait ....