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

Correctly notifying user when confirming payment #372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VictorSCamargo
Copy link

As can be seen in the image below, in a Woocommerce order, in the notes window, the customer chose the PIX option for payment, in the Woocommerce + Mercado Pago website.

exemplo-status-pedido

However, it can be noticed that the payment confirmation is not a "user note", only a private note for who is viewing the order.
While the other important notification "waiting for PIX payment" is both notified privately and for the user, the even more important "payment received" notification is not.

What that causes is confusion in the customer, because only changing the order status to "processing" doesn't make it obvious that the payment was received. It gets agravated when the customer sees the order history, where the last note is "waiting for payment":

exemplo-cliente

The consequence of that is multiple customers getting anoyed and making contact to confirm if the payment is really confirmed.

The proposed fix for that is using the same approach as the "pedding_pix" notification, that is creating two notifications: one for customer and other private.

This was the example followed:

$order->add_order_note('Mercado Pago: ' . $this->translations['pending_pix']);
$order->add_order_note('Mercado Pago: ' . $this->translations['pending_pix'], 1);

Copy link

@Albertomonmol2031 Albertomonmol2031 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien

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

Successfully merging this pull request may close these issues.

2 participants