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

#41 Fixed As Reported Bug #42

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

Conversation

sanyogs
Copy link
Collaborator

@sanyogs sanyogs commented Oct 13, 2017

Hello Team,

I have fixed the issue #41 which was reported by @coreymckrill
Following things done
Javascript enqueue added seprate file for Razorpay
and common file gateway is seprate with code.

Sanyog Shelar

Added Text Domain
Trasnlated Missing Words
Added Init Text Domain
JavaScript breaks registration flow for Instamojo Fixed Now
Copy link
Collaborator

@ajitbohra ajitbohra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me just minor changes

@@ -0,0 +1,218 @@
/**
* Give - Razorpay Popup Checkout JS
Copy link
Collaborator

@ajitbohra ajitbohra Oct 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment needs update "Give" here seems to be irrelevant

});
});
/**
* Give - Razorpay Popup Checkout JS
Copy link
Collaborator

@ajitbohra ajitbohra Oct 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment needs update as this is common file for gateways not specific to "Razorypay"

$form.on('submit', function (e) {

var phone = $('.mobile').val();
console.log(phone);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanyogs Remove all console.log from code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@@ -104,6 +104,26 @@ public function camptix_init() {
* @access public
*/
public function enqueue() {

if ( ! isset( $_GET['tix_action'] ) || ( 'attendee_info' !== $_GET['tix_action'] ) ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanyogs This code is already in master branch. Did you reformat code or anything else
For ref: https://github.com/wpindiaorg/camptix-indian-payments/blob/master/campt-indian-payment-gateway.php#L177

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have move required js file for razorpay under razor pay
and common file which is for both validation put in master

Copy link

@coreymckrill coreymckrill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to address the problem. +1 from me.

@ravinderk ravinderk removed the has pr label Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants