I need a php-script that places virtuemart-sales in the virtuemart-database without a sale being done in Virtuemart.
The reason is simple:
I use a tax-software that directly imports all customers and orders from the virtuemart-database. This works great for all Virtuemart-Sales, but I also sell different stuff, not only Virtuemart.
-> Salespages with just one download-product, paid directly with Paypal
-> Extensions like jPayplans or DT-Register
In that cases I have to manualy import the orders into my tax-software. So I want to transfer the orders automatically into the virtuemart-database, so the order can be downlodet as a regular Virtuemart-Order.
This should be done with a php-file or an 1px-image on the thank-you-page. It should look like this:
[login to view URL](at)email.com&price=123,11&status=shipped&tax=19&payment=paypal&(...)
There is no need that Virtuemart sents out any Invoice or stuff like that. But the internal counters like the order-ID and stuff like that must be triggered.
I will limit all of those orders to "one-product-orders", so there is no need to integrate features like "shipping-cost" or "more then one product". Every order will always be "One sale for one product".
I also will create a Virtuemart-Product with the corresponding Product-ID for every Salespage, so you will never face the problem that there is an unknown Product-ID. For the product, you only have to transfer the Product-ID and the price to the database.
Well, same about the rest. I make it as easy as possible, and then I like to have all data be transfered automatically.
All the best, Julian!
Bu iş için 2 freelancer ortalamada $208 teklif veriyor
I think I can create such php script. Which will insert the data in virtuemarts database fields accordingly. Let me know if you are interested in my service. Thank you.