Skip to content

After sucessful Payment , order status wont change and no emails are beeing send #18

Description

@MasterGeddon

Hi i am using Typo3 9.5.13 , i configured the cart extension as shown in the tutorial on youtube. After this I configured the payment to be from this paypal extension. The money is beeing transfered in the sandbox accounts , the email adresses are set . But wen i go back to the merchant from the sucessful PayPal payment . No emails are beeing send and the order payment status didnt get updated, neither do i get emails send to the buyer or seller. The configurations for sending emails are set correct , i could get emails with the standard payment method.

Am I missing a configuration ? Or might this be a common problem.

Activity

  1. g-w-h-s commented on Nov 9, 2020

    @g-w-h-s

    Hi there.
    Some problem here:
    Typo3 9.5.20, tx_cart and tx_cartpaypal is working.
    Paypal payments are successful, but after payment i won't get any emails, whether the buyer or seller.
    Is my TypoScript setup wrong?

    THANKS A LOT FOR ANY HELP!

    TypoScript Setup:

    plugin.tx_cartpaypal {
    sandbox = 0
    business = EMAILADRESSE
    }

    cartPayPal = PAGE
    cartPayPal {
    typeNum = {$plugin.tx_cartpaypal.redirectTypeNum}

    config {
        disableAllHeaderCode = 1
        xhtml_cleaning = 0
        admPanel = 0
        debug = 0
        no_cache = 1
    }
    
    10 < tt_content.list.20.cartpaypal_cart
    10.features.requireCHashArgumentForActionArguments = 0
    

    }

    plugin.tx_cartpaypal {
    sandbox = 0

    redirectTypeNum = {$plugin.tx_cartpaypal.redirectTypeNum}
    
    sendEachItemToPaypal = 1
    
    finishers {
        order {
            success {
                400 {
                    class = Extcode\Cart\Domain\Finisher\Order\EmailFinisher
                }
                500 {
                    class = Extcode\Cart\Domain\Finisher\Order\ClearCartFinisher
                }
            }
        }
    }
    

    }

  2. g-w-h-s commented on Nov 11, 2020

    @g-w-h-s

    This works! Emails will be send after successful PayPal payment to the buyer and the seller.

    TypoScript Setup:

    plugin.tx_cart.settings {
    buyer {
    emailFromAddress = mail@domain.de
    }
    seller {
    emailFromAddress = mail@domain.de
    emailToAddress = mail@domain.de
    }
    }

  3. MasterGeddon commented on Nov 13, 2020

    @MasterGeddon
    Author

    Thanks @g-w-h-s ,
    this works for me now too, I am finally getting my emails.
    But I still dont get the payment status updated it is still labeled as open and not as paid as it should be.

  4. j4k3 commented on Jun 7, 2021

    @j4k3

    Same problem here (since an update of the core?).

    Log says:
    Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function setWasOrdered() on null | Error thrown in file /html/typo3/typo3conf/ext/cart_paypal/Classes/Utility/PaymentProcess.php in line 420. Requested URL: https://REDACTED/shop/warenkorb?eID=paypal-payment-api&cHash=364c319918918508cf2ade64f6ab2f7b

    I've tried to debug $this->cart on which $this->cart->setWasOrdered(true); is called, but can't get an output.

  5. medarob commented on Oct 20, 2021

    @medarob

    tested it with ddev and TYPO3 10.4.20, cart 7.5, cart_paypal 5.0

    I set up a Paypal sandbox account and the workflow worked. After the paypal payment was successful I could go back to the merchant website and got the message that the order was successful. Info in my sandbox account shows that the order was paid.

    However, in the cart modul the order has still the status open and the price is 0

    grafik

    grafik

    grafik

    No emails were sent using the Paypal payment method.

    (The e-mail notification via the default payment method "Vorkasse" works.)

  6. medarob commented on Oct 20, 2021

    @medarob

    The redirect to the merchant website had to be triggered manually. There was no automatic redirect.
    Not sure if that is the default behaviour or if it should be automatically redirect to the webshop?

  7. kevinlieser commented on May 19, 2024

    @kevinlieser

    Got the same problem as @medarob - Any news on this? Here also Payment via Paypal do not trigger email notification as well as the payment status is still open. Also got 404 error after redirect from paypal because of chash comparsion failed but fixed that by disabling 404 on chash error.

    Any news on this?

  8. kevinlieser commented on May 20, 2024

    @kevinlieser

    You should try removing htaccess password restrictions for the Paypal IPN to send the notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions