Development of payment summary

The pictures posted by Susan Cipriano on Pixabay

Foreword

APP recently docked in pay Alipay APP, APP micro-channel payment, payment applet, which make some conclusions

Problems encountered

Alipay

APP Alipay payment is relatively simple, and the interface is inside the SDK, you only need to adjust the interface to pass parameters on the line, add in their own business logic on the line;

Note that the callback inspection sign that is supported Fu Baogong spoon, instead of applying the public key; public key applications are their own private keys generated;

APP micro-channel payment and payment applet

Micro-channel pay little pit:

  1. It needs its own signature, signature verification is too much trouble
  2. Applet pay with APP micro-channel pay, for the first time require the signature of both parameters is the same, but trade_typethe value is not the same, there is a second signature required parameters and parameter names on a whole new ballgame
  3. Callback processing, note repeat callback
  4. Note development, let the operator or person in charge of the opening of the relevant payment-related functions (development of small finds himself not open when paying small payment procedures, the process of opening their own do not know, a waste of time to get back part of the opening)
  5. The biggest pit encountered micro-channel pay is somewhat confusedly written document can not be found, and some require a signature which attributes and character meets Camel

Apple paid

  1. Note one

Apple paid with the top few who completely different

  • By product type, you can only use Apple's virtual payment, other entities (such as an appointment under line) can call other payment
  • Virtual accounts require the kind of product information corresponding to Apple's Apple Developer backstage to entry;
  1. Note two

Apple will pay more helpless, because Apple does not need to go pay for their services, all processes are handled in Apple's own system, the only thing is that Apple will be paid after the completion of a string, and then their own servers to access the relevant website to verify the field; and relatively cumbersome verification, detailed verification process can not say here;

  1. Pay attention to three
    because Apple needs to pay a separate entry in a separate background Apple and Apple needs to charge fees, resulting in the end Apple is not the same price, whether you need to pay attention to the price of apples set properties alone development;

to sum up

  • This is mainly payment process, process familiar, does not require long development time, the code is ready, only you need to configure the relevant configuration on the line;
  • There is a note submitted to repeat, such as repeated callbacks (notification);
  • Note that business process development
  • Local development and debugging time, pay attention to whether the callback address may callback, the need to map the local callback address to the public network (using a proxy or network penetration)

Guess you like

Origin www.cnblogs.com/guoyuchuan/p/11496413.html