airwallex / airwallex-payment-demo

Airwallex payment element integration demo
39 stars 24 forks source link

Docs could be improved to indicate how to show order summary #57

Closed uuykay closed 1 year ago

uuykay commented 2 years ago

I recently went through the docs for the Hosted Payments Page and after setting up my server to create the Payment Intent, it was confusing why there was no order summary on the left despite the gif in the demo page showing one.

After reading the API docs a bit more for the payment intent, and what I gather is that there is an "order" field that needs to be populated with this information. I think this should be expressed somewhere in these integration docs.

https://www.airwallex.com/docs/api#/Payment_Acceptance/Payment_Intents/_api_v1_pa_payment_intents_create/post

chao-ding-awx commented 1 year ago

I this this field shows depends on order data that you provided when creating intent. If you're still confusing about this, please raise a ticket on this page https://help.airwallex.com/hc/en-gb/requests/new, thank you.