0

I am using Woocommerce. I am getting the receipt number on the payment page like the below image

wc_order_qs3VAezaTDgjk 

enter image description here

I have to change the receipt format. Is this possible?

4
  • The receipt that you are displaying is not a transaction ID or some other ID but it is the order Key that can not be changed (and should not be displayed), because it's made and used to secure for example the access to the Order received Page. But yes you could change the display, formatting that as you like, overriding the thankyou template. You can even display something else like a custom order number available using the hook woocommerce_order_number like in those threads Commented Mar 21, 2021 at 16:35
  • @LoicTheAztec, I don't know how I am getting that receipt number on my payment page. When I click proceed to checkout page then It's redirecting on payment gateway and there I am getting all this information Commented Mar 21, 2021 at 16:51
  • This due to your theme customization, as normally this is only displayed in the url as a variable like …/checkout/order-received/1029/?key=wc_order_qs3VAezaTDgjk, but not on the order received page itself. Commented Mar 21, 2021 at 16:55
  • @LoicTheAztec, When I click to proceed to checkout page then It's redirecting on a payment gateway and there I am getting this receipt but the URL is different invoices.paymentgateway.com/v1/t/inv_GpDcHW9jIFcx22. (As of now URL is dummy) Commented Mar 21, 2021 at 17:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.