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

Transit changes #73

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

senthilkumar-muthusamy
Copy link
Collaborator

@senthilkumar-muthusamy senthilkumar-muthusamy commented Feb 2, 2021

Admin and Front end changes for TransIT, AVS/CVS Rejection conditions

@@ -0,0 +1,10 @@
{
Copy link
Contributor

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?

Copy link
Contributor

@MSmedal MSmedal left a 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',
Copy link
Contributor

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),
Copy link
Contributor

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

Copy link
Contributor

@MSmedal MSmedal left a 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

Copy link
Contributor

@MSmedal MSmedal left a 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.

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

Successfully merging this pull request may close these issues.

2 participants