laravel-fb-messenger icon indicating copy to clipboard operation
laravel-fb-messenger copied to clipboard

Payments api

Open CasperLaiTW opened this issue 9 years ago • 5 comments
trafficstars

Pending!!

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

CasperLaiTW avatar Oct 17 '16 15:10 CasperLaiTW

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?

CasperLaiTW avatar Feb 09 '17 18:02 CasperLaiTW

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.

seatechdev avatar Feb 10 '17 01:02 seatechdev

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

CasperLaiTW avatar Feb 10 '17 04:02 CasperLaiTW

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.

seatechdev avatar Feb 10 '17 04:02 seatechdev

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.

CasperLaiTW avatar Feb 10 '17 11:02 CasperLaiTW