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

Fix vendor_id should be a integer console error #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

foysalremon
Copy link

For some reason there is a need of vendor id for paddle even if we use FastSpring. But the fields for paddle is hidden and not saving anything while paddle not selected. So I make sure at least the paddle vendor id field will remain save event if we change the payment solution.

Another thing is on JavaScript we should must parseInt the appseroPaddleAffWP.vendor_id before using to confirm it's a integer.

});
}

function appseroPaddleEvent(data) {

if( data.event === 'Checkout.Complete' ) {
if (data.event === "Checkout.Complete") {

Choose a reason for hiding this comment

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

May we know the reason for replacing single quote with double quote?

Copy link
Author

Choose a reason for hiding this comment

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

It was just a eslint fixing

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