moyasar / moyasar-ruby Goto Github PK
View Code? Open in Web Editor NEWMoyasar Ruby client library
Home Page: https://moyasar.com/docs/api/?ruby
License: MIT License
Moyasar Ruby client library
Home Page: https://moyasar.com/docs/api/?ruby
License: MIT License
When i use wrong credit card number i didn't get error message and i get exception
NoMethodError: undefined method `keys' for "'unknown' is not a valid company":String
Implement refund (full/partial) method for creditcard source payment.
I trying to create payment using credit card. i sent parameters according to docs.
https://moyasar.com/docs/api/#arguments
I get error Moyasar::InvalidRequestError: Validation Failed: company can be visa or mastercard only
even company parameter is not required in docs.
I added also company parameter and i still get the same error.
I try to create a payment using sadad. i sent parameters according to docs.
I get Technical error
Bellow is response of returned object
<Moyasar::Payment:0x007f8c38e345b0 @source=#<Moyasar::Sadad:0x007f8c38e34290 @username="xxxxxxxx", @error_code="E999999", @message="Technical Error Occured", @transaction_id=nil, @transaction_url=nil>, @id="951b458a-4cda-4d90-9f25-1470ec3ce485", @status="failed", @amount=84235, @fee=0, @currency="SAR", @refunded=0, @refunded_at=nil, @description="xxxxxxx", @amount_format="842.35 SAR", @fee_format="0.00 SAR", @refunded_format="0.00 SAR", @invoice_id=nil, @ip="51.36.57.51", @callback_url="http://localhost:3000/xxxxxx", @created_at="2018-02-26T19:42:52.146Z", @updated_at="2018-02-26T19:42:53.439Z">
Update Models to return the new response fields, response_code and authorization_code
I created payment object according to docs then i get InvalidRequestError Validation Failed Exception without any error message. so i can't figure out exactly the error reason
When i enter invalid sadad user name EX: dddddddd. I get error as bellow
or detected, rethrowing. Caught exception and rethrowing. Caught exception and rethrowing. Caught exception and rethrowing. Can't find SOAP body. CheckOutAcquirerService_Handler.InitiateCheckOutMerchant.InitiateCheckOutMerchantProcessor.SADADPayment_Common_Processor.SADAD_Common_Processor.SOAPRequestProcessor.Extract
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.