wp-media / wp-media/imagify-plugin

Payment Modal does not close when using plugin with test invironments.

Open
#584 2 comments 0 reactions 1 assignee View on GitHub

@iCaspar is already working on this.

Since Jul 7, 2021.

devops effort [XS]
Dominant language
PHP
Stars
82
Forks
31
Avg merge
5d 10h
Merged PRs (30d)
9

Description

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version ✅ 1.9.14
  • Used the search feature to ensure that the bug hasn’t been reported before ✅

Describe the bug
When using the plugin with our staging and test versions of the app, the pricing modal does not close after completing a purchase transaction.

To Reproduce
Steps to reproduce the behavior:

  1. Point the app api URL to one of the test app URIs
  2. Complete a test purchase in the plugin's pricing/checkout modal.
  3. See the modal does not close after the transaction completes.

Expected behavior
The modal should close correctly in conjunction any app environment.

Additional Context
This issue is the only issue left from #558, which was trying to solve issues around the pricing modal that arose on-the-fly during the 2021 spring campaign.

Backlog Grooming (for WP Media dev team use only)

  • Reproduce the problem
  • Identify the root cause -- the test and development URIs are not set correctly in the pricing modal js.
  • Scope a solution -- add the correct URIs into the checkPluginMessage() method in pricing-modal.js
  • Estimate the effort: [XS]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.