Symfony2 and Payum Bundle: How do I connect payment with order placed by a customer?

286 views Asked by At

I have 2 entities in my database: Client and Product. Every time someone places order I store in DB new entity with Client data and some corresponding entities with Products (one-to-many), I don't have any other entity for keeping order as a whole. I added Payum Bundle with simple PayPal configuration and everything is working, but how can I connect payment info with Product? What is the best way to do this? Maybe there is something that I overlooked in Payum Documentation?

0

There are 0 answers