Skip to content

Check is test notification#106

Open
aleksanderkakol wants to merge 5 commits intomasterfrom
check-test-notification
Open

Check is test notification#106
aleksanderkakol wants to merge 5 commits intomasterfrom
check-test-notification

Conversation

@aleksanderkakol
Copy link
Contributor

No description provided.

@github-actions
Copy link

Tpay OpenAPI SDK -

/** @return bool */
public function isTestNotification()
{
return 1 === preg_match('/^TR-[^-]+-TST[^X]+X$/', $this->tr_id->getValue());
Copy link
Contributor

Choose a reason for hiding this comment

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

/^TR-[A-Z0-9]+-TST[0-9]+X$/ zasugeruje taki bardziej dokładny warunek

Copy link
Contributor Author

Choose a reason for hiding this comment

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

zmieniony

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.

2 participants