Support » Plugin: WooCommerce » Integrar WooCommerce com PHP

  • Resolved rendessonvpsantos

    (@rendessonvpsantos)


    Preciso integra o WooCommerce com um sistema php para cliente.
    Tenho um sistema que para ter acesso é preciso adquirir um plano. Preciso de uma forma de que no cadastro da comprar o WooCommerce crie um usuário no Banco de Dados do Sistema para acesso do comprador.
    Além disso preciso que o woocommerce Ative ou Desative o acesso ao sistema dos clientes que não fizerem o pagamento mensalmente (pagamento recorrente).
    Se a fatura venceu e não foi paga, o acesso seja bloqueado e quando for paga, reative o acesso do cliente.
    Se for paga dentro do período de validade não precisará desativar o acesso.

    Existe alguma extensão que me auxilie? Ou onde posso implementar essa função no retorno do getway de pagamento ao WooCommerce pra fazer isso?

    Desde já, grato!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @rendessonvpsantos,

    The text below was translated using Google Translate.

    I need to integrate WooCommerce with a php client system.
    I have a system that requires access to a plan. I need a way that in the register to buy WooCommerce create a user in the System Database for access by the buyer.
    In addition, I need woocommerce to Enable or Disable access to the system for customers who do not make monthly payments (recurring payment).
    If the invoice has expired and has not< been paid, access is blocked and when it is paid, reactivate the customer’s access.
    If paid within the validity period, you do not need to disable access.

    Is there any extension that helps me? Or where can I implement this function in the return of the payment getway to WooCommerce to do this?

    You could possibly create a custom solution using the WooCommerce REST API to communicate with your PHP client system. This would however require you to be proficient with coding or alternatively hire a developer to code such integration for you.

    With regards to the WooCommerce REST API access codes for that can be set from inside your WooCommerce site by following this documentaiton.

    https://docs.woocommerce.com/document/woocommerce-rest-api/

    For the developer level documentation, you can find located on this site below and this covers authentication and all of the endpoints and parameters which can be accessed via the REST API.

    https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction

    With regards to testing API calls, we have some information on testing API calls using an App called Postman and I’ve referenced that for you below too.

    https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API

    Plugin Support maykato

    (@maykato)

    Hi @rendessonvpsantos

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.