Skip to content

Commit

Permalink
fix: guest-checkout-enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Govind Diwakar committed Apr 9, 2024
1 parent 0175928 commit 15d76fc
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 127 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medusa-payment-razorpay",
"version": "7.0.9",
"version": "7.0.9-next-8",
"description": "Razorpay Payment provider for Meduas Commerce",
"main": "dist/index.js",
"repository": {
Expand Down
7 changes: 6 additions & 1 deletion src/core/__tests__/razorpay-base.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ if (!isMocksEnabled()) {
dotenv.config();
}
const container = {
logger: { error: console.error },
logger: { error: console.error, info: console.log },
cartService: {
retrieve(id: string): any {
return { id: "test-cart", billing_address: { phone: "12345" } };
},
},
customerService: {
retrieve: (id: string): any => {
return { billing_address: { phone: "12345" } };
Expand Down
Loading

0 comments on commit 15d76fc

Please sign in to comment.