Pagseguro Payment Gateway

You can find this plugin from ARMember -> Add-ons. When this plugin get activated to your site, you will get an additional option in ARMember -> General Settings -> Payment Gateways.

Do settings by filling required details to enable this payment gateway for users.

Important Notes:

  1. Subscription with Trial period will not be applied in Pagseguro.
  2. Pagseguro does not support billing cycle in Days. Also you can set billing cycle only for 1 Month, 2 Month, 3 Month and 1 Year.
  3. Pagseguro does not support infinite recurring time.
  4. ARMember Coupon Code will not be supported with Autodebit Payment Method.

  5. Pegseguro Payment gateway willnot be activated if payment currency is not BRL.


Installation & Activation

Steps For Installation And Activation

You can install plugin in following two ways. and ARMember – Pagseguro payment gateway plugin requires ARMember Plugin installed and active.

New install via FTP

  1. Download the plugin and extract it. You will find a directory armemberpagseguro.
  2. In your WordPress installation directory, upload armemberpagseguro to wp-content/plugins/
  3. Activate the ARMember - Pagseguro payment gateway plugin through the Plugins menu from WordPress admin panel.

New install via the WordPress Uploader

  1. Download the plugin.
  2. Log in to your WordPress admin panel
  3. Go to Plugins -> Add New -> Upload
  4. Click on “choose file” and browse the download package. When the plugin uploads successfully, click on Activate Plugin.

Steps to Setup Pagseguro For Your Website

Let’s setup ARMember – Pagseguro payment gateway for your website :

  1. If plugin is activated, then Pagseguro section will be displayed in ARMember -> General Settings -> Payment gateways.

    Please see below screen.

    general setting screen

  2. To activate Pagseguro payment gateway, make ‘Active’ switch ON, so you will be able to insert Email and Token.

  3. If you do not have Pagseguro account then create it.

    For Production account click here.

    For Sandbox account click here.

    For more information about how to create account click here.

  4. Where do I get the token?

    To obtain the security token of PagSeguro, follow below steps:

    Login to your account

    Click Vendedor under PERFIS DE INTEGRAÇÃO section in left panel.

    Here you can generate token.

  5. Now use generated token and email into ARMember Pegeseguro payment gateway.

    If you are using gateway for testing purpose, then select ‘Sandbox’ in ‘Payment Mode’, For making Payment Gateway live select ‘Production’. Then click on ‘Save’ button.

  6. Follow the below steps to set the Notification URL in your Pageseguro account.

    Login to your Pagseguro account

    Click Vendedor under PERFIS DE INTEGRAÇÃO section in left panel.

    Set Notification URL in Definir URL para receber as notificações: textbox under Notificação de transações section.

    Click on Salvar button.

    Also you need to set Notification URL in Aplicação tab. Click Aplicação under PERFIS DE INTEGRAÇÃO section in left panel.

    Set Notification URL in Definir URL para receber as notificações: textbox under Notificação de transações section.

    Click on Salvar button.

  7. You need to set BRL currency as Default currency from ARMember -> General Settings -> General page. Pagseguro payment gateway support only brazilian rupee(BRL) currency.

  8. For setting up payment related messages, go to ARMember -> General Settings -> Common Messages

    In this page, you will find ‘Payment Fail (Pagseguro)’ under ‘Payment Related Messages’ section. If you willnot set the message here, then default message will be displayed.

  9. After setting up Pagseguro payment gateway you will be able to see Pagseguro payment in ARMember -> Configure Plan+SignUp Page

    Please see below screen.

    Configure Plan Screen

  10. Important Note:User willnot be created in the system automatically after payment. If you want user to be created automatically after payment of ‘ONETIME’ plan OR ‘MANUAL SUBSCRPTION’, then please do following settings in your Pagseguro account.

    Click Definir status de transação under PERFIS DE INTEGRAÇÃO section in left panel.

    Set Paga in Valor da configuração: under Web section. Click on Salvar button.

    Pagseguro Account Change Automatic Status For One Time

  11. Important Note:User willnot be created in the system automatically after payment of ‘AUTOMATIC SUBSCRIPTION’. You need to follow below steps to add member in system.

    You need to change Status da assinatura to Ativa from your Pegseguro account.

    Pagseguro Account Change Signature Status

    You need to change Status da transação to Pega from your Pegseguro account.

    Pagseguro Change Transaction Status

    Please do not forget to change status for each payment, otherwise system will not work properly.