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

Check isBackOffice before checking billing_profile_id (e-notice fix) #26960

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/CRM/common/paymentBlock.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
{else}
{capture assign='urlPathVar'}{/capture}
{/if}
{if $billing_profile_id}
// Billing profile ID is only ever set on front end forms, to force entering address for pay later.
{if !$isBackOffice && $billing_profile_id}
{capture assign='profilePathVar'}billing_profile_id={$billing_profile_id}&{/capture}
{else}
{capture assign='profilePathVar'}{/capture}
Expand Down