-
Notifications
You must be signed in to change notification settings - Fork 5
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
Transit changes #73
base: master
Are you sure you want to change the base?
Transit changes #73
Conversation
@@ -0,0 +1,10 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we putting this in classes/includes/ instead of the root?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to pull in the changes from master and update the version numbers after that
@@ -754,7 +886,7 @@ public function scripts() | |||
$scripts = array( | |||
array( | |||
'handle' => 'securesubmit.js', | |||
'src' => 'https://api.heartlandportico.com/SecureSubmit.v1/token/2.1/securesubmit.js', | |||
'src' => 'https://api2.heartlandportico.com/securesubmit.v1/token/gp-1.6.0/globalpayments.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's update to the latest: https://js.globalpay.com/v1/globalpayments.js
return array( | ||
array( | ||
'name' => "avs_reject_conditions[A]", | ||
'label' => __('Address matches, zip No Match', $this->_slug), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add the response code in the label like we did in WooCommerce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also run phpcs--standard=WordPress, at least on the files we're touching for this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall. Please advise on the comments above and I'll run a couple more local tests.
Admin and Front end changes for TransIT, AVS/CVS Rejection conditions