Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter ojaneri

    (@ojaneri)

    After a better look, looks like that username parameter is not being created even if the api sends it. That is the cause for the user not being active, even if marked as active.

    I was sending to API

    ‘swpm_api_action’ => ‘create’,
    ‘key’ => ‘PASS’,
    ‘first_name’ => $email,
    ‘last_name’ => $lastname,
    ’email’ => $email,
    ‘username’ => $email,
    ‘password’ => ‘password’,
    ‘membership_level’ => ‘3’,
    “send_email” => 0,

    I just corrected
    ‘username’ => $email,
    to
    ‘user_name’ => $email,

    And it worked. Thank you all for your patience and help! ??

    Thread Starter ojaneri

    (@ojaneri)

    On the first screenshot, you see that the API was successfull creating the user id.

    View post on imgur.com

    On the second, on the wp administration, you see the user.

    View post on imgur.com

    and when I click on edit/view, you can see that he/she isnt active yet, still needing to confirm.

    View post on imgur.com

    Hope that its helps for a better understanding.

    Thread Starter ojaneri

    (@ojaneri)

    Just to confirm, everything is working fine except that you don’t want an email to be triggered after the member is added?

    The add goes Fine except that I need the user to be active right away, but he still needs to confirm his email to access the Pages ??

    Thread Starter ojaneri

    (@ojaneri)

    Just to let you know, the Actual State of Account is set to Active, but no effects

    Thread Starter ojaneri

    (@ojaneri)

    Thank you!

    But I think I didnt made myself clear.

    I am using this

    ‘swpm_api_action’ => ‘create’,
    ‘key’ => ‘apikey’,
    ‘first_name’ => $email,
    ‘last_name’ => $lastname,
    ’email’ => $email,
    ‘username’ => $email,
    ‘password’ => ‘password’,
    ‘membership_level’ => ‘3’,
    “send_email” => 0,

    The plugin works fine for adding user, putting in the correct membership level.

    But I need it to automatically activate the user without any email to the user.

    Is that possible?

    Thread Starter ojaneri

    (@ojaneri)

    Thanks for your reply.

    Email activation was already off. It didnt help me with this issue.

    Looks like It is hardcoded ??

    Thread Starter ojaneri

    (@ojaneri)

    Any news from the dev team? Thanks

    Thread Starter ojaneri

    (@ojaneri)

    Hi!

    I am currently using these payment gateways:
    WooCommerce Checkout Cielo por Claudio Sanches, Gabriel Reguly – 1.0.4
    WooCommerce Boleto por Claudio Sanches – 1.5.3

    But why I think this isnt a payment gateway? Because the first one on the list will work. You just press the ′pagar pedido′/pay order and it will work, but if you choose any other on the radio buttons, them it wont work.

    Thank you for your time.

    Thread Starter ojaneri

    (@ojaneri)

    For future references, I changed on permalinks the

    Products permalinks
    to
    /lojavirtual/%product_cat%

    as you can seen in the picture:
    here

    Thank you again Claudio and Mike.

    Thread Starter ojaneri

    (@ojaneri)

    Thank you Mr Claudio, you nailed it.

    Just changed the shop on permalinks to lojavirtual and it worked.

    Muito obrigado Claudio!

    Thread Starter ojaneri

    (@ojaneri)

    -bash-3.2$ cat .htaccess
    AddHandler php56-script .php
    suPHP_ConfigPath /home/cearamaquinas
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter ojaneri

    (@ojaneri)

    I change to storefront, saved the permalinks, but the 404 error continues.

    You can see it here:

    https://www.cearamaquinas.com.br/shop/finalizar-compra/order-received/720?key=wc_order_56b35ec75c6fb&utm_nooverride=1

    Even tried removing all plugins except Woocommerce

    -bash-3.2$ mv plugins/ plugins.hold
    -bash-3.2$ mkdir plugins
    -bash-3.2$ cd plugins
    -bash-3.2$ cp -r ../plugins.hold/woocommerce
    -bash-3.2$ cp -r ../plugins.hold/woocommerce* .
    -bash-3.2$

    but without success.

    Thread Starter ojaneri

    (@ojaneri)

    Sorry for not posting it earlier.

    ### WordPress Environment ###
    
    Home URL: https://www.cearamaquinas.com.br
    Site URL: https://www.cearamaquinas.com.br
    WC Version: 2.5.2
    Log Directory Writable: ?  /home/storage/9/22/05/cearamaquinas/public_html/wp-content/uploads/wc-logs/
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: pt_BR
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.17
    PHP Post Max Size: 8 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 1000
    SUHOSIN Installed: ?
    MySQL Version: 5.6.16
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Post Remoto: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.5.2
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    
    ### Active Plugins (21) ###
    
    BePro Listings: por BePro Software Team – 2.2.0015
    BePro Email: por BePro Software Team – 1.0.04
    Formulário de contato 7: por Takayuki Miyoshi – 4.3.1
    Email Return-Path Header Fix: por Abdussamad Abdurrazzaq – 0.1
    EWWW Image Optimizer: por Shane Bishop – 2.5.7
    File Away: por Thom Stark – 3.9.6.1
    MailChimp for WordPress: por ibericode – 3.0.10
    MQ Woocommerce Product's Price Bulk Edit: por Mostafa Qanbari – 1.0
    Slider Revolution: por ThemePunch – 5.1.5
    themesFor.me Google Product Feed for WooCommerce: por Themes For Me – 1.0.7
    Tidio Chat: por Tidio Ltd. – 3.0.1
    Shortcodes by UnitedThemes: por UnitedThemes – 3.3
    WooCommerce Boleto: por Claudio Sanches – 1.5.3
    WooCommerce Correios: por claudiosanches
    rodrigoprior – 2.1.1
    
    WooCommerce Extra Checkout Fields for Brazil: por claudiosanches – 3.2.0
    WooCommerce Google Analytics Integration: por WooThemes – 1.4.0
    WooCommerce PagSeguro: por Claudio Sanches
    Gabriel Reguly – 2.7.1
    
    WooCommerce Parcelas: por Filipe Seabra – 1.2.8.3
    WooCommerce Descontos por Método de Pagamento: por Claudio Sanches – 2.2.1
    WooCommerce: por WooThemes – 2.5.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: BRL (R$)
    Currency Position: left_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Base da loja: #9 - /shop/
    Carrinho: #93 - /shop/carrinho/
    Finalizar compra: #96 - /shop/finalizar-compra/
    Minha conta: #12 - /shop/my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Flatsome
    Version: 2.8
    Author URL: https://www.uxthemes.com/
    Child Theme: ? – Caso você esteja modificando uma o WooCommerce em uma tema pai que você n?o desenvolvemos
    recomendamos usar uma tema filho
    Veja: como criar uma tema filho
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php vers?o 2.5.0 esta desatualizado. A vers?o do core é 2.5.2
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/orderby.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/success.php
    flatsome/product-searchform.php
    flatsome/woocommerce/single-product/add-to-cart/grouped.php
    flatsome/woocommerce/single-product/add-to-cart/simple.php
    flatsome/woocommerce/single-product/add-to-cart/variable.php
    flatsome/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/additional-information.php
    flatsome/woocommerce/single-product/tabs/description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    
    : Aprenda como atualizar templates desatualizados
    Thread Starter ojaneri

    (@ojaneri)

    Thread Starter ojaneri

    (@ojaneri)

    I tried different gateways (woocommerce – boleto and woocommerce-transf) without sucess.

    But, as the endpoint is configured correctly (order-received) and the gateway is sending to a order-received URL, I suppose it is correct.

Viewing 15 replies - 1 through 15 (of 16 total)