Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order confirmation email send before the payment done #10

Open
spras opened this issue Oct 6, 2017 · 6 comments
Open

Order confirmation email send before the payment done #10

spras opened this issue Oct 6, 2017 · 6 comments

Comments

@spras
Copy link

spras commented Oct 6, 2017

The order confirmation email is send before the payment is done.

This is because in Paybox\Epayment\Model\Payment\AbstractPayment

public function getOrderPlaceRedirectUrl()
    {
        return $this->getUrl('pbxep/payment/redirect', array('_secure' => true));
    }

returns null

@mflasquin
Copy link

Do you have resolved this issue ?

@pixmin
Copy link

pixmin commented Mar 14, 2019

On a default Magento 2.2.5 (but I believe this is standard on all Magento 2 versions), when I choose "Check / Money order" as a payment method, I do receive an order confirmation.

The next step is to validate the payment (manually in this case, or via IPN when using Paybox). This will send an Invoice for the order. Those are two different email confirmations.

@spras Why do you believe the order confirmation should not be sent before the payment is done?

@spras
Copy link
Author

spras commented Mar 14, 2019

Because, it seems weird to receive an order confirmation email when the payment failed.
And i don't remember receiving a payment confirmation email, in case of success ?

@pixmin
Copy link

pixmin commented Mar 14, 2019

You should definitely receive an email confirmation (Invoice email) when:

  • You manually confirm the order
  • The IPN is received from the payment platform

Maybe you didn't receive the email because the IPN didn't get through?

@spras
Copy link
Author

spras commented Mar 14, 2019

Don't remember, it was more than one year ago... i think it weird for users to receive two confirmation emails in case of success et one confirmation email in case of payment failure.

@pixmin
Copy link

pixmin commented Mar 14, 2019

Agreed, but that's how Magento works, nothing to do with Paybox as far as I know since ordering by check does the very same thing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants