# Custom purchase examples

### Configure

```php
<?php
namespace Acme\PaymentBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Payum\Core\Model\ArrayObject;

/**
 * @ORM\Table
 * @ORM\Entity
 */
class PaymentDetails extends ArrayObject
{
    /**
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     *
     * @var integer $id
     */
    protected $id;
}
```

```yml
#app/config/config.yml

payum:
    storages:
        Acme\PaymentBundle\Entity\PaymentDetails: { doctrine: orm }
```

-**Note**: You should use commented path if you install payum/payum package.-

* [Paypal express checkout](custom-purchase-examples-1/paypal-express-checkout).
* [Paypal pro checkout](custom-purchase-examples-1/paypal-pro-checkout).
* [Payex](custom-purchase-examples-1/payex).
* [Authorize.Net AIM](custom-purchase-examples-1/authorize-net-aim).
* [Be2Bill credit card](custom-purchase-examples-1/be2bill).
* [Be2Bill onsite](custom-purchase-examples-1/be2bill-onsite).
* [Klarna Checkout](custom-purchase-examples-1/klarna-checkout).
* [Klarna Invoice](custom-purchase-examples-1/klarna-invoice).
* [Stripe.Js](custom-purchase-examples-1/stripe-js).
* [Stripe Checkout](custom-purchase-examples-1/stripe-checkout).
* [Stripe Direct (via omnipay)](custom-purchase-examples-1/stripe-via-omnipay).
* [Paypal express checkout (via omnipay)](custom-purchase-examples-1/paypal-via-omnipay).
* [JMS payment plugins](../jms-payment-bridge/get-it-started).

***

### Supporting Payum

Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider:

* [Become a sponsor](https://github.com/sponsors/Payum)
