next, you have to add mapping of the basic entities you are extended, and configure payum's storages:
# app/config/config.ymldoctrine_mongodb:document_managers:default:auto_mapping:truemappings:payum:is_bundle:falsetype:xmldir: %kernel.root_dir%/../vendor/payum/core/Payum/Core/Bridge/Doctrine/Resources/mapping# set this dir instead if you use `payum/payum` library#dir: %kernel.root_dir%/../vendor/payum/payum/src/Payum/Core/Bridge/Doctrine/Resources/mappingprefix:Payum\Core\Modelpayum:security:token_storage:Acme\PaymentBundle\Entity\PaymentToken: { doctrine:mongodb }storages:Acme\PaymentBundle\Entity\PaymentDetails: { doctrine:mongodb }
Note: You should use commented path if you install payum/payum package.
Custom.
We have several built in storages which cover all your needs. Sometimes you need completely custom storage. To have a custom storage you have to implement StorageInterface from core:
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: