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

Renamed passed parameter name for Merchant ID in the Transaction::create() example. #16

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

JorgenVatle
Copy link
Contributor

I went ahead and renamed the $merchantId parameter passed to the documented Transaction::create() call to $transactionId. As the create() method accepts a merchant ID and not a transaction ID.

This should help prevent some confusion for users reviewing the docs for the Transaction::create() method. 😄

Renamed "Create a transaction"'s passed `$transactionId` parameter to `$merchantId` to remain consistent with the method as defined in the source code.

To clarify, the `Transaction` class' `create()` method accepts a merchant ID, not a transaction ID.
@tjconcept tjconcept requested a review from ionutcalara December 9, 2017 16:20
Copy link
Contributor

@ionutcalara ionutcalara left a comment

Choose a reason for hiding this comment

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

I agree with the fix, thanks for the patch.

@ionutcalara ionutcalara merged commit 0058f68 into paylike:master Dec 11, 2017
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.

2 participants