evertec / athmovil-javascript-api

Technical documentation used to integrate ATH Móvil's Payment Button on websites using HTML and Javascript.
6 stars 0 forks source link

Sandbox JSON responses are the same for completed transactions and when the user closes the window #25

Open joseamirandavelez opened 1 year ago

joseamirandavelez commented 1 year ago

This seems to be a bug. The response JSON is the same if the transaction is completed or not. I am using the sandbox.

Completed transaction: {"status":"completed","date":1674308388172,"referenceNumber":"refsandbox0001","dailyTransactionID":"8361","name":"User Test Sandbox","phoneNumber":"7877599999","email":"athmovil@athmovil.com","message":null,"total":10,"fee":0.06,"netAmount":null,"totalRefundedAmount":0,"tax":0,"subtotal":10,"metadata1":"$10 donation","metadata2":"$10 donation","items":"[{\"name\":\"Donation to The Borikengineers robotics team\",\"description\":\"\",\"quantity\":\"1\",\"price\":\"10.00\",\"tax\":\"0.00\",\"metadata\":\"$10 donation\"}]"}

Closed window: {"status":"completed","date":1674308402171,"referenceNumber":"refsandbox0001","dailyTransactionID":"8361","name":"User Test Sandbox","phoneNumber":"7877599999","email":"athmovil@athmovil.com","message":null,"total":10,"fee":0.06,"netAmount":null,"totalRefundedAmount":0,"tax":0,"subtotal":10,"metadata1":"$10 donation","metadata2":"$10 donation","items":"[{\"name\":\"Donation to The Borikengineers robotics team\",\"description\":\"\",\"quantity\":\"1\",\"price\":\"10.00\",\"tax\":\"0.00\",\"metadata\":\"$10 donation\"}]"}

osquiabro commented 1 year ago

eso no es un bug siempre ha estado asi desde sus origenes y al parecer nunca lo cambiaran y nunca te van a contestar