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 paid status processing #12

Merged
merged 2 commits into from
Dec 18, 2018
Merged

Fix paid status processing #12

merged 2 commits into from
Dec 18, 2018

Conversation

imeleshko
Copy link
Contributor

No description provided.

// translators: Coinbase error status for "unresolved" payment. Includes error status.
$order->update_status( 'failed', sprintf( __( 'Coinbase payment unresolved, reason: %s.', 'coinbase' ), $last_update['context'] ) );
if ($last_update['context'] === 'OVERPAID') {
$order->update_status( 'processing', __( 'Coinbase payment was successfully processed.', 'coinbase' ) );
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this update the status to 'processing'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. processing == paid in woocommerce.

@guacamoli guacamoli merged commit 6ec20d4 into coinbase:master Dec 18, 2018
@waleedzaytoun waleedzaytoun mentioned this pull request Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants