• 0
xsbr

collections - atributo released

Question

Pessoal,

 

alguém sabe o que significa o atributo released no módulo collections?

 

Em todos os collections que analisei estavam como "no", imagino que deveria estar como "yes" se o dinheiro já estivesse disponível na conta do MercadoPago.

post-137-0-69902500-1436409447_thumb.png

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Oi xsbr, você pode ter uma order com payment_status: paid, mais o dinheiro pode ficar nao ficar disponível ainda.

Você tem que olhar o atributo money_release_date para conhecer cuando vai ficar disponível.

 
Att.

Share this post


Link to post
Share on other sites
  • 0

Disponibilidade do valor a receber. Valores possíveis: yesno.

 

https://www.mercadopago.com.ar/developers/es/api-docs/account/payments/older-integrations/

 

Leandro,

 

então acho que este atributo não está sendo usado/atualizado, veja:

 

/collections/ (released = no, embora o order e o collection estejam como paid

            [date_created] => 2015-07-02T22:19:56.000-04:00
            [date_approved] => 2015-07-02T22:19:55.000-04:00
            [money_release_date] => 2015-07-04T22:19:55.000-04:00
            [last_modified] => 2015-07-03T06:48:55.000-04:00
            [transaction_amount] => 79.9
            [mercadopago_fee] => 27.98
            [net_received_amount] => 67.12
            [total_paid_amount] => 95.1
            [shipping_cost] => 15.2
            [status] => approved
            [status_detail] => accredited
            [status_code] => 00
            [installments] => 1
            [installment_amount] => 95.1
            [released] => no
            [tags] => Array
                (
                    [0] => new
                )

/orders/

            [date_created] => 2015-07-02T22:17:47.000-04:00
            [date_closed] => 2015-07-02T22:19:56.000-04:00
            [last_updated] => 2015-07-02T22:19:56.000-04:00
            [expiration_date] => 2015-07-23T22:19:56.000-04:00
            [status] => paid
            [status_detail] =>
            [tags] => Array
                (
                    [0] => delivered
                    [1] => paid
                )

            [total_amount] => 79.9
            [total_amount_with_shipping] => 95.1
            [paid_amount] => 95.1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now