# How can I simulate the ordering/payment process for testing?

**URL:** <https://forum.shopware.com/t/how-can-i-simulate-the-ordering-payment-process-for-testing/40516>\
**Category:** Programmierung\
**Created:** [13. Oktober 2016 um 13:16 UTC](https://forum.shopware.com/t/how-can-i-simulate-the-ordering-payment-process-for-testing/40516 "2016-10-13T13:16:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdnapo](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mdnapo](https://forum.shopware.com/u/mdnapo)\
**Post date:** [13. Oktober 2016 um 13:16 UTC](https://forum.shopware.com/t/how-can-i-simulate-the-ordering-payment-process-for-testing/40516/1 "2016-10-13T13:16:46Z")

</div>

**Hello Guys,**

**I have been working on a Shopware Plugin that synchronizes data based on order/payment statuses and if an order has an invoice or not. The problem I’m facing now is that I don’t know when or where the order/payment statuses are set and I also don’t know when Invoices are created. I can test the plugin by manipulating these factors manually, but assuming that this usually happens automatically, it’s not very practical. Can anyone tell me how and when the order/payment statuses are changed, when invoices are created and if there are&nbsp;plugins that I can use to simulate the ordering/payment process for testing? All help is appreciated.**

**Thanks in advance!**

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [13. Oktober 2016 um 13:24 UTC](https://forum.shopware.com/t/how-can-i-simulate-the-ordering-payment-process-for-testing/40516/2 "2016-10-13T13:24:28Z")

</div>

There should be a sandbox mode in every payment plugin.&nbsp;

---

<div class="post-metadata">

**Author:** ![mdnapo](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mdnapo](https://forum.shopware.com/u/mdnapo)\
**Post date:** [13. Oktober 2016 um 13:47 UTC](https://forum.shopware.com/t/how-can-i-simulate-the-ordering-payment-process-for-testing/40516/3 "2016-10-13T13:47:37Z")

</div>

I wasn’t aware of that. I will check it out.

Thanks a lot!
