View Issue Details

IDProjectCategoryView StatusLast Update
0007531module PayPal Checkoutmodule PayPal checkout - subpublic2023-09-21 11:28
ReporterDayanaLuedecke 
PriorityimmediateSeveritycriticalReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.3.1 / 1.3.1 
Target VersionFixed in Version2.3.2 / 1.3.2 
Summary0007531: When entering a voucher and ordering with PayPal, the order is cancelled
DescriptionWhen redeeming a voucher in the shopping cart and you click "Zahlungspflichtig bestellen" you are redirected to the page "3. shipping & payment method"
with error message "Autorisierung der Zahlung fehlgeschlagen. Bitte prüfen Sie Ihre Eingabe!".

Software versions:
OXID 6.2.4 & Paypal Checkout 1.3.1

Steps To Reproduce1. Create voucher series
2. Add article to basket
3. Enter voucher
4. Select PayPal payment
5. Klick in Step4 "Zahlungspflichtig bestellen"
-> redirect to Step 3 -> Autorisierung der Zahlung fehlgeschlagen. Bitte prüfen Sie Ihre Eingabe!
Additional Information[{\"field\":\"\\/purchase_units\\/@reference_id=='OXID_REFERENCE'\\/amount\\/value\",\"value\":\"1728.12\",\"issue\":\"AMOUNT_MISMATCH\",\"description\":\"Should equal item_total + tax_total + shipping + handling + insurance - shipping_discount - discount.\"}]\n\nResponse: \n{\"name\":\"UNPROCESSABLE_ENTITY\",\"debug_id\":\"ec18685e3322a\",\"links\":[{\"href\":\"https:\\/\\/developer.paypal.com\\/docs\\/api\\/orders\\/v2\\/#error-AMOUNT_MISMATCH\",\"rel\":\"information_link\",\"method\":\"GET\"}]}\n\nThe following curl request could be used to simulate a similar request:\n \ncurl -v -X POST \"https://api.sandbox.paypal.com/v2/checkout/orders\" -H \"User-Agent: GuzzleHttp/7\" -H \"Host: api.sandbox.paypal.com\" -H \"Content-Type: application/json\" -H \"PayPal-Partner-Attribution-Id: Oxid_Cart_Payments\" -H \"PayPal-Client-Metadata-Id: \" -H \"Prefer: return=minimal\" -H \"Authorization: Bearer A21AALJdhoNrU7jYVAJj8AyhbOyYfdbJXx_Wnm6z-L3_YrZ-509FfFJg6VXIgmpVqrGs745c50O8-fEcxtPI32MrLP9yBsAMw\" -d {\"intent\":\"CAPTURE\",\"processing_instruction\":\"NO_INSTRUCTION\",\"payer\":{\"name\":{\"given_name\":\"Dayana\",\"surname\":\"L\\u00fcdecke\"},\"address\":{\"address_line_1\":\"Birkenweg 10\",\"address_line_2\":\" \",\"admin_area_2\":\"R\\u00fcdnitz\",\"postal_code\":\"16321\",\"country_code\":\"DE\"},\"email_address\":\"[email protected]\"},\"purchase_units\":[{\"reference_id\":\"OXID_REFERENCE\",\"amount\":{\"breakdown\":{\"item_total\":{\"currency_code\":\"EUR\",\"value\":\"1728.12\"},\"tax_total\":{\"currency_code\":\"EUR\",\"value\":\"0.00\"},\"discount\":{\"currency_code\":\"EUR\",\"value\":\"39.84\"}},\"currency_code\":\"EUR\",\"value\":\"1728.12\"},\"description\":\"Zahlung bei Werbetechniker Shop\",\"shipping\":{\"name\":{\"full_name\":\"Dayana L\\u00fcdecke\"},\"address\":{\"address_line_1\":\"Birkenweg 10\",\"address_line_2\":\" \",\"admin_area_2\":\"R\\u00fcdnitz\",\"postal_code\":\"16321\",\"country_code\":\"DE\"}}}]
TagsNo tags attached.

Relationships

related to 0007541 resolved[email protected] If a user group is assigned to a voucher or a discount, you cannot pay with this voucher using PayPal Checkout 

Activities

QA

2023-09-12 16:12

administrator   ~0015537

- es -

QA

2023-09-12 16:13

administrator  

PayPal_voucher.png (84,911 bytes)
PayPal_voucher.png (84,911 bytes)