如何为订单生成新的付款。 [英] How to Generate New Payment to a order.

查看:73
本文介绍了如何为订单生成新的付款。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目中有一条业务规则允许为订单生成新税,假设用户购买此产品:
1x product1 = 10,00
1x product2 = 11,00 1x product3 = 12,00
总计= 33,00。

我将为此订单生成一张银行票,直到客户付款并且我处理,我的提供商更改了价格product2到13,00,现在我的订单总共需要35,00。我必须生成一张2,00的新银行票。

我怎么能用商业呢???保存为订单后我无法更改价格?

[]的信息


www.rafaelalmeida.net

Rafael S. Almeida

PS:如果对你有帮助,不要忘记将这篇文章标记为答案。

I have one business rule on my project that allow generate new tax for a order, imagine the user buy this products:
1x product1 = 10,00
1x product2 = 11,00
1x product3 = 12,00
total = 33,00.

i will generate a banking ticket for this order, until the customer pay it and i process, my provider changed the price for product2 to 13,00, now my order need to be 35,00 in total. and i have to generate a new banking ticket of 2,00.

how can i do it with commerce ??? i cant change the price after save as order?

[]'s


www.rafaelalmeida.net
Rafael S. Almeida
PS: Don't forget to mark this post as an answer if it helps you.

推荐答案

我可以是错的,如果我不是,请有人告诉我们所有的方法,但我不认为这是可能的。更进一步的是价格变化不是某个日期或时间发生的事情。这意味着在截止时间之前下达的任何订单都是旧价格。订单时的价格错误并不是客户的错。如果您必须在系统中已经取消该订单的订单上更改产品二的价格,并且相关的银行机票将是一种方式,除非您的目录中有产品或服务可以根据自己的订单获取两美元。

理论上,如果您更改订单上某个项目的价格,您可能会运行必要的管道来纠正问题,但您需要知道已经生成了一张银行机票而我真的只是需要添加第二笔付款才能解决差异,再次不确定它是否可能只是一些希望激发讨论的想法
I could be wrong and if I am not please someone tell us all how, but I don't think this is possible. Further more would a price change not be something that happens as of a certain date or time. Meaning any orders placed before a cutoff time would be the old price. It's not the customers fault that the price at time of order was wrong. If you must change the price on product two on an order already in the system canceling that order and the associated bank ticket would be one way to go unless you had a product or service in your catalog that could capture the two dollars on it's own order.

In theory if you change the price on a line item on an order you could potentially run the necessary pipelines to correct the issue but you would need to know that one bank ticket is already been produced and I really just need too add a second payment too account for the difference, again not sure it's even possible just some thoughts hoping to provoke a discussion


这篇关于如何为订单生成新的付款。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆