Custom purchase button on pagseguro

0

I want to use a custom button to purchase, without being what the pagseguro offers.

Does anyone know how to generate the redirect code obtained through the PagSeguro Payments API?

Example of code taken from the pagseguro site: PagSeguroLightbox ('1F69A3CF7878ED9994B3DF9DDC706796');

Payout page link: link

    
asked by anonymous 09.03.2017 / 14:52

1 answer

0

You can try to create the rule manually from the DIV that appears in the Pagseguro button, then edit the button DIV always with! important all the CSS variables of that button ... copy the whole rule and insert in your file main CSS and browses.

Example:

color: #000 !important;

This will cause the site to look for the variable declared as important instead of the Pagseguro variable. Almost all external scripts work if edited in this way .. at least I use it that way.

    
09.03.2017 / 18:11