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

Option(s) to pass order reference number to PayPal #3

Open
bfopma opened this issue Jul 9, 2019 · 1 comment
Open

Option(s) to pass order reference number to PayPal #3

bfopma opened this issue Jul 9, 2019 · 1 comment

Comments

@bfopma
Copy link

bfopma commented Jul 9, 2019

Description

When an order is processed via PayPal Payflow, the value of 'Comment1' in Payflow consists of Order {{ order.id }} vs. a more friendly Order Reference Number (https://docs.craftcms.com/commerce/v2/orders.html#order-numbers).

Is it possible to override the default value that is being passed to Payflow's 'Comment1' field?

image001

Thank you!

Additional info

  • Plugin version: 2.0.0
  • Craft version: 3.1.33
@engram-design
Copy link
Member

I'll look into this, but I also think it should be possible now, just need to find the right event.

However, you can't use order.reference, because the reference number isn't generated until after the order is complete. Bit of a chicken and the egg situation.

Raised via craftcms/commerce#1074

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

2 participants