ウェブサイトでの支払いの処理にPayPalIPNを使用しています。ユーザーが割引コードとPayPalに渡されて計算された値(金額またはパーセンテージ)を入力できるようにしたいと思います。
私はウェブを見回してきましたが、次のものしか見つけられないようです。
Use discount_amount_cart to charge a single discount amount for the entire cart.
Use discount_amount_x to set a discount amount associated with item x
Use discount_rate_cart to charge a single discount percentage for the entire cart.
discount_rate_cart - Applies to entire cart however, this variable will only work with the "Upload" Method. Not the standard Add to Cart variables.
これらをリクエスト文字列でテストした後:
...&discount_amount_cart=10&...
PayPalはこの割引を認識していないようです。これは実際にPayPalIPNにもう存在しますか?
ご協力いただきありがとうございます!