Setting currency in Cashier 6.0

Posted 3 years ago by domioanna

I know how to do this in 5.0, but the same code doesn't work in 6.0.

Does anyone know how to change on invoices from the default "$" / "usd" in Cashier to use "£" / "gbp" without having to edit the core files?

Using:-

  • Laravel 5.2
  • Cashier 6.0

This is for subscriptions rather than single charges.

The following code doesn't work...

public function preferredCurrency()
{
    return "gbp";
}

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.