websess
Forum Replies Created
-
Forum: Plugins
In reply to: [PayPal Plus for WooCommerce] Auth-Capture / Authorization vor CaptureThank you Andreas!
Would that mean you can request more money as the customer agrees with it or the product price is?
Authorize and Capture Payments usually authorize (and park) an agreed amount, which later can be lowered (usually not raised) by the seller. By capturing the amount the payment transaction is finalized.
In this common use case a food product is cut after the order has been placed.
The products price is measured in a base price by weight, which always varies in each individual order. To fulfill a payment and the according order, authorize and capture is necessary.Thank you for discussing with your dev team!
Forum: Plugins
In reply to: [PayPal Plus for WooCommerce] Auth-Capture / Authorization vor CaptureThank you Andreas!
According to the developer documentation an intent is part of PayPal Plus:
https://developer.paypal.com/docs/paypal-plus/germany/integrate/create-payment-resource/
The PayPal Plus documentation references the general PayPal API which states that an intent request can either contain sale, authorize or order:
https://developer.paypal.com/docs/api/payments/v1/#payment_create
So as far as I understand this would be possible?
Within the embeded API there is the following comment:
Captures and processes an authorization, by ID. To use this call, the original payment call must specify an intent of
authorize
, see:Source: /woo-paypalplus/lib/PayPal/Api/Authorization.php [436]
As far as I can see the plugin sets the intent always to ‘sale’ instead of a variable:
->setIntent('sale')
Source: /Users/book/Downloads/woo-paypalplus/src/Payment/PaymentCreator.php [84]
Wouldn’t it be possible the set a variable from the plugin settings here?
- This reply was modified 3 years, 6 months ago by websess.