このAPIは変更される可能性があります。プレビュー期間中、開発者からのフィードバックに基づいてバグ修正や新機能がリリースされる予定です。
Creates an order for a buyer who purchased the plan with an offline transaction.
について createOfflineOrder()
function returns a Promise that resolves to an order
object when the order has been created.
Payment of an offline order is handled in 1 of 2 ways.
真の
in the paid
request parameter.markAsPaid()
関数である。When creating a non-free offline order:
"PENDING"
if the start date is in the future. Otherwise, the status is set to "ACTIVE"
.
The order's last payment status is set to "UNPAID"
または "PAID"
.When creating a free offline order:
"PENDING"
if the start date is in the future. Otherwise, the status is set to "ACTIVE"
."NOT_APPLICABLE"
.
ID of the plan being ordered. See Plans for more information about plan IDs
ID of the member ordering the plan.
Options for creating an offline order.