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

Do not create recurring orders if last payment was from another gateway #115

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pmpro-pay-by-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,6 @@ function pmpropbc_recurring_orders()
(SELECT mo1.id, mo1.user_id, mo1.timestamp
FROM {$wpdb->pmpro_membership_orders} AS mo1
WHERE mo1.membership_id = $level->id
AND mo1.gateway = 'check'
AND mo1.status IN('pending', 'success')
) as o2

Expand Down