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(donation): not able to make donation via custom amount #3159 #3160

Merged
merged 2 commits into from
May 3, 2018

Conversation

raftaar1191
Copy link
Contributor

Description

PR to fix #3159

How Has This Been Tested?

Manually tested update the Give from Give Core 2.0.6 to 2.1

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.


if ( ! $this->is_custom_price_mode() ) {
$this->maximum_price = 999999.99;
$this->maximum_price = $maximum_price;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@raftaar1191 try to use give_get_highest_price_option when custom amount disabled and let me know.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure @ravinderk updating the PR

@ravinderk ravinderk merged commit e22e2dd into impress-org:release/2.1.1 May 3, 2018
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.

None yet

2 participants