- 🇩🇪Germany Anybody Porta Westfalica
I think the better way can be found here:
💬 Add a way to load all promotions applied to an order ActiveAnd then using the adjustment source id. Using the coupon field seems a bit dangerous to me maybe?
Hi,
I am devloping custom module, which will accepts credit card payments.Once payment successfully completed
i am storing all the order details like orderId,productName, Quantity, Price etc. in a custom table.
Besides this i want to store the coupon code which is applied for that order.
How can I get the coupon code which is applied to order?
Fixed
2.0
DrupalCommerce.org
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think the better way can be found here:
💬
Add a way to load all promotions applied to an order
Active
And then using the adjustment source id. Using the coupon field seems a bit dangerous to me maybe?