Fix bug with affiliate links and also move paypal.me text
This commit is contained in:
parent
8b94c17d0e
commit
7a5c731b25
|
|
@ -117,7 +117,7 @@ class ApiController < ApplicationController
|
|||
raise JamPermissionError, ValidationMessages::PERMISSION_VALIDATION_ERROR
|
||||
elsif @partner.partner_user.nil?
|
||||
raise JamPermissionError, ValidationMessages::PERMISSION_VALIDATION_ERROR
|
||||
elsif !current_user.admin || @partner.partner_user != current_user
|
||||
elsif !current_user.admin && @partner.partner_user != current_user
|
||||
raise JamPermissionError, ValidationMessages::PERMISSION_VALIDATION_ERROR
|
||||
end
|
||||
elsif current_user
|
||||
|
|
|
|||
|
|
@ -42,7 +42,11 @@ script type="text/template" id="template-affiliate-partner-account"
|
|||
| We must have a complete mailing address and a valid tax ID in order to process and mail payments due to all affiliates. Per the terms of the affiliate agreement, if this information is not available within 90 days of the end of a calendar quarter, then any payment obligation due to the affiliate for such calendar quarter shall be considered fully and permanently discharged, and no further payment for such calendar quarter shall be due or payable to affiliate.
|
||||
br
|
||||
br
|
||||
| For fastest receipt of payment, please specify a PayPal.Me account.
|
||||
span
|
||||
| For fastest receipt of payment, please specify a PayPal.Me account (ex:
|
||||
b
|
||||
| paypal.me/YourName
|
||||
| )
|
||||
br
|
||||
br
|
||||
| So please provide this data, and be sure to keep it current!
|
||||
|
|
@ -79,13 +83,6 @@ script type="text/template" id="template-affiliate-partner-account"
|
|||
.affiliate-label PayPal.Me:
|
||||
= text_field_tag('affiliate_partner_paypal_id', "{{ data.paypal_id }}", { class: 'w60' })
|
||||
br
|
||||
span style="padding-left:138px"
|
||||
| A PayPal.Me link looks like
|
||||
b paypal.me/YourName
|
||||
| Please read more info
|
||||
a href="https://www.paypal.com/us/smarthelp/article/What-is-PayPalMe-FAQ3025"
|
||||
| about PayPal.Me
|
||||
br
|
||||
br
|
||||
.spacer
|
||||
.input-buttons
|
||||
|
|
|
|||
Loading…
Reference in New Issue