Discussions
Pre-authorized Payment create - error Invalid Amount
In PRE_AUTHORIZED flow, in the next payment create i riceive error "Invalid Amount", but the amount set is correct and it's the same of pre-authorized token create.
Those are the input data to \SatispayGBusiness\Payment::create() method
["flow"]=> string(14) "PRE_AUTHORIZED"
["pre_authorized_payments_token"]=> string(36) "f45b060d-b219-4948-b6c1-21b73afcd199"
["amount_unit"]=> float(200)
["currency"]=> string(3) "EUR"
["external_code"]=> string(36) "f45b060d-b219-4948-b6c1-21b73afcd199" ["callback_url"]=> string(126) "https://www.vallesabbianews.it/returnUrl_satispay.php?iduser=7427&type=payment&payment_id=f45b060d-b219-4948-b6c1-21b73afcd199"
["metadata"]=> array(2) {
["order_id"]=> string(36) "f45b060d-b219-4948-b6c1-21b73afcd199"
["user"]=> string(4) "7427" }