___ erkimt ___ Creation structure with transparent Checkout + Pagseguro + Woocommerce [pending] ______ qstntxt ___
I created a structure with form taking the woocommerce object to get the data of the cart, I make the sale to the pagseguro through a transparent and accurate checkout now send the return of the transaction to the woocommerce. Would you like to know if I can do this using the woocommerce app?
I was able to solve by adding the return url and reference, eg:
$data["notificationURL"]="https://www.meusite.com.br/wc-api/WC_PagSeguro_Gateway/";
$data["reference"]="PV".$refId;