• 0
Sign in to follow this  
matiazar

Saber el valor REAL cobrado luego de una venta

Question

Buenas.
 
Necesito para una app que trabaja con las ventas de ML, saber cual es el valor real de cada venta. 
 
Por ej. si yo vendo un producto en $100 el resource de la orden dice que cobre $100.-
 
"total_amount" => 100.00
"total_amount_with_shipping" => 200.00
"paid_amount" => 200.00
 
pero realmente no cobre eso, sino q a eso debo restarle la comision de ML,  o si el producto tiene envio gratuito, debo restar dicho envio, etc...
 
como puedo averiguar el valor real cobrado en una transaccion ?!
gracias !

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this