TendoPayPlugins / tendopay-magento-1

Official TendoPay Extension for Magento 1
0 stars 1 forks source link

[bug] Tendopay configuration 'Sandbox Mode' does not work and others #2

Open tangoslee opened 5 years ago

tangoslee commented 5 years ago

System > configuration > payment methods > Tendopay

  1. API always works in 'sandbox' mode,

screen shot 2019-01-15 at 4 22 55 pm

// app/code/community/TendoPay/TendopayPayment/Helper/Data.php:208
    /**
     *
     * @return bool true if sandbox is enabled
     */
    private static function is_sandbox_enabled()
    {
        return true;
    }
  1. Please remove 'Minimum Order', 'Maximum Order' screen shot 2019-01-15 at 4 48 32 pm

Currently, merchants cannot set those values.

  1. The cart is empty when API communication fails.

In the issue1 (#1), the cart items are cleared when the customer back to cart page after met API errors. The items in the cart should keep the items until the order succeed.

  1. Please provide a document; How to install the Tendopay plugin.

  2. Misspelling

'Sendbox Mode' [x] 'Sandbox Mode' [O]

tangoslee commented 5 years ago

Thank you for modification. I've tested again.

Done: 2. and 5

onGoing:

  1. API always works in 'sandbox' mode,

it seems still has problems.

  1. If the customer stops the payment process after checkout, the cart is clear and the stock of products is already deducted even though the payment has not completed. The cart and stock should be changed after the only when the payment completes successfully.

  2. Installation Manual

Please review the above issues when you're available.

Thank you.

piyushlathiya commented 5 years ago

@tangoslee

1. API always works in 'sandbox' mode, it seems still has problems.

2. '$this' reference error in Data.php:444

_3. An error encountered during generating hashtocken

4. If the customer stops the payment process after checkout, the cart is clear and the stock of products is already deducted even though the payment has not completed. The cart and stock should be changed after the only when the payment completes successfully.


Other: Added guzzle using composer into lib directory and removed it from the module as to make it always up to date with the latest version.

Thank you.