Home > Mobile >  [with] PHP using the JSAPI payment, is like JSON packet? Or only the XML?
[with] PHP using the JSAPI payment, is like JSON packet? Or only the XML?

Time:12-19

doing WeChat pay recently, the page is PHP, WeChat browser to access,
Need to make a payment on the page,
(certified services, has opened WeChat payments, etc... )

, read the development of documents is found in the document sample is XML way,
Because of my technology co., LTD., for this doesn't have a concept,
Specially to consult,

(get/post methods call WeChat API, I can own normal send and get the returned json packet)

JSAPI payment interface, I also can understand for the similar json way,
The difference is:
1, the original send json packet, now sending XML package;
2, the original json packets, now get XML package;
3, only json packet and XML package "writing",
- is that so?

(the other is a stupid question: the JSAPI interface can use json way to operate?)
  • Related