-
Notifications
You must be signed in to change notification settings - Fork 28
add API subscription & Gopay Tokenization implementation #22
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
add API subscription & Gopay Tokenization implementation #22
Conversation
omarxp
commented
Nov 9, 2021
- Add API Subscription
- Add Gopay Tokenization
- Add sample
- Add test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes are needed before this PR can be approved, please update ya. Thanks
README.md
Outdated
} | ||
create_subscription = subscription.create(param) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain this on the readme: Before merchant can call API create subscription, merchant should first obtain the 1 click token (which you can link it to this docs: https://docs.midtrans.com/en/core-api/advanced-features?id=recurring-transaction-with-subscriptions-api )
@rizdaprasetya new commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need some updates, other than that looks good 👍
@rizdaprasetya updated with new commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few things need to be fixed. Also the commit message is not very descriptive, as always reminded before, please use proper & descriptive commit message next time.
@rizdaprasetya I use https://dillinger.io as markdown editor, should be fix now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few changes needed @omarxp . thanks
README.md
Outdated
You will receive gopay payment token with get_payment_account API | ||
Check Tokenization examples folder (/examples/tokenization) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The render result of that tool seems different than Github, always test from user perspective, user will view it directly from Github, so you should too. All the screenshot I took from Github's markdown render. |
@rizdaprasetya updated with new commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still found some issue, please fix @omarxp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
additional feedback
@rizdaprasetya please help to check again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, looks good now. Please merge and release, thanks! @omarxp (will share account creds via Slack)