CheckoutSchema::prepare_payment_details_for_response( array $payment_details )

This prepares the payment details for the response so it’s following the schema where it’s an array of objects.


Description Description


Parameters Parameters

$payment_details

(Required) An array of payment details from the processed payment.


Top ↑

Return Return

(array) An array of objects where each object has the key and value as distinct properties.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/CheckoutSchema.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.