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

Superfluous field "card_ids" when creating callback URL #33

Open
thinckx opened this issue May 9, 2019 · 0 comments
Open

Superfluous field "card_ids" when creating callback URL #33

thinckx opened this issue May 9, 2019 · 0 comments

Comments

@thinckx
Copy link

thinckx commented May 9, 2019

Hi!

As I'm creating an API to sync payments with a bookkeeping system, I'd like to get notified about payments. That's why I need to add a callback url.

My test looks like this:

	/** @test */
	public function it_adds_a_callback_url()
	{
		// given
		$user = $this->bunq->getCurrentUser();
		$callbackUrl = "https://example.org";

		// when
		$this->bunq->addCallbackUrl($callbackUrl);
		
		// then
		$filters = $user->getNotificationFilters();
		$this->assertTrue(count($filters) >= 1);
	}

($this->bunq refers to BunqLib}

When running this test, I'm getting the error:

Error message: Superfluous field "card_ids".Superfluous field "card_limits".

But I can't find any documentation about this error. I tried removing the default null values, changing the url, but none of these work.

Could it be a sandbox thing? Or what am I missing here?

Thanks!

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

No branches or pull requests

1 participant