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

Payments api #34

Open
CasperLaiTW opened this issue Oct 17, 2016 · 5 comments
Open

Payments api #34

CasperLaiTW opened this issue Oct 17, 2016 · 5 comments
Labels

Comments

@CasperLaiTW
Copy link
Owner

Pending!!

Not in US. I CAN'T apply for beta program.

@CasperLaiTW
Copy link
Owner Author

According to #59
@sbasi5576

Thanks. Also we know that you are overseas. But is there a way for you publish the interface to payments API? We can test it in the US.

I didn't get App to testing payments API.

If I make it only following documents, I can't check API working good or not.

Is any idea how can I request payment API?

@seatechdev
Copy link

Based on the facebook documentation it is just another button type. https://developers.facebook.com/docs/messenger-platform/complete-guide/payments

To test the actual payments you need a real world app and go through facebook's approval process.

@CasperLaiTW
Copy link
Owner Author

so you mean make a buy button Payment will be working?

@seatechdev
Copy link

seatechdev commented Feb 10, 2017

Buy Button - Messenger Platform.pdf
Receipt Template - Messenger Platform.pdf
Payments (BETA) - Messenger Platform.pdf

Here is the full description of the buy button:

https://developers.facebook.com/docs/messenger-platform/send-api-reference/buy-button
It has dependency on the Receipt Template.
https://developers.facebook.com/docs/messenger-platform/send-api-reference/receipt-template

Another options facebook has is that they use javascript API:

https://developers.facebook.com/docs/messenger-platform/complete-guide/payments#webview_payments

Essentially, clicking on a Buy button - either for the Button or the Javascript API - facebook sends a tokenized credit card (a credit card number that has been converted into a short lived token for that transaction). That token can be used with Paypal, Stripe or another payment processor to process the payment.

Since you are overseas and if you are having trouble accessing these documents the links above, please ping me and I can email these to you.

I have attached the PDF version of the pages so that you can go through them.

@CasperLaiTW
Copy link
Owner Author

I can get those documents, but I can't request beta.

It's a big problem for develop library, because I can't confirm the method is working or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants