karim-007 / laravel-bkash

This is bkash payment gateway for laravel
4 stars 2 forks source link

Invalid Request #1

Closed Saidul13 closed 1 year ago

Saidul13 commented 1 year ago

this code success: function (data) { console.log(data)

payment: 26

{status: 'fail', msg: 'Invalid request'} msg: "Invalid request"status: "fail"[[Prototype]]: Objectconstructor: ƒ Object()assign: ƒ assign()create: ƒ create()defineProperties: ƒ defineProperties()defineProperty: ƒ defineProperty()entries: ƒ entries()freeze: ƒ freeze()fromEntries: ƒ fromEntries()getOwnPropertyDescriptor: ƒ getOwnPropertyDescriptor()getOwnPropertyDescriptors: ƒ getOwnPropertyDescriptors()getOwnPropertyNames: ƒ getOwnPropertyNames()getOwnPropertySymbols: ƒ getOwnPropertySymbols()getPrototypeOf: ƒ getPrototypeOf()groupBy: ƒ groupBy()hasOwn: ƒ hasOwn()is: ƒ is()isExtensible: ƒ isExtensible()isFrozen: ƒ isFrozen()isSealed: ƒ isSealed()keys: ƒ keys()length: 1name: "Object"preventExtensions: ƒ preventExtensions()prototype: {constructor: ƒ, defineGetter: ƒ, defineSetter: ƒ, hasOwnProperty: ƒ, lookupGetter: ƒ, …}seal: ƒ seal()setPrototypeOf: ƒ setPrototypeOf()values: ƒ values()arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()defineGetter: ƒ defineGetter()defineSetter: ƒ defineSetter()lookupGetter: ƒ lookupGetter()lookupSetter: ƒ lookupSetter()proto: (...)get proto: ƒ proto()length: 0name: "get proto"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]set proto: ƒ proto()length: 1name: "set proto"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]

karim-007 commented 1 year ago

bkash are currently provide tokenize payment credential so which payment credential you are using for this please check. if your provided credentil is tokenize then use https://github.com/karim-007/laravel-bkash-tokenize.git this package. other wise use this package and this message come from bkash end so at first check your provided all information is correct or not then try again till have this issue then contact with bKash. thank you.

Saidul13 commented 1 year ago

I am creating the application, will test it for now, will use it later when completed

On Thu, Oct 19, 2023 at 8:51 PM Md Abdul Karim @.***> wrote:

bkash are currently provide tokenize payment credential so which payment credential you are using for this please check. if your provided credentil is tokenize then use https://github.com/karim-007/laravel-bkash-tokenize.git this package. other wise use this package and this message come from bkash end so at first check your provided all information is correct or not then try again till have this issue then contact with bKash. thank you.

— Reply to this email directly, view it on GitHub https://github.com/karim-007/laravel-bkash/issues/1#issuecomment-1771152503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODADGXDK2TUHMALJ444JALYAE467AVCNFSM6AAAAAA6G6DSNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRGE2TENJQGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regard:

Md. Saidul Islam Touch IT BD Sirajganj, Bangladesh. Mobile: +8801715-881168 Web: http://www.touchsitbd.com/

karim-007 commented 1 year ago

thats means you are testing bkash without credentials??

Saidul13 commented 1 year ago

yes

On Sun, Oct 22, 2023 at 2:14 PM Md Abdul Karim @.***> wrote:

thats means you are testing bkash without credentials??

— Reply to this email directly, view it on GitHub https://github.com/karim-007/laravel-bkash/issues/1#issuecomment-1774028249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODADGQOXSXT4RCCJS3EMOLYATIX7AVCNFSM6AAAAAA6G6DSNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGAZDQMRUHE . You are receiving this because you authored the thread.Message ID: @.***>

-- Regard:

Md. Saidul Islam Touch IT BD Sirajganj, Bangladesh. Mobile: +8801715-881168 Web: http://www.touchsitbd.com/

karim-007 commented 1 year ago

how funny :D ok no problem after getting bkash credential using this credential try again it will be work. again be sure which type of credential you have for bkash. For tokenize use tokenize package for normal use this package. Thank you